mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix wart in docker tests with slowTest decorator
This commit is contained in:
parent
675cd8db04
commit
8f6ac02c32
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ class DockerNetworkTestCase(ModuleCase, SaltReturnAssertsMixin):
|
|||
output = process.communicate()[0]
|
||||
log.debug("Output from %s:\n%s", " ".join(cmd), output)
|
||||
|
||||
if process.returncode != 0 and "No such image" not in output:
|
||||
if process.returncode != 0 and "No such image" not in str(output):
|
||||
raise Exception("Failed to destroy image")
|
||||
|
||||
def run_state(self, function, **kwargs):
|
||||
|
|
Loading…
Add table
Reference in a new issue