summaryrefslogtreecommitdiffstats
path: root/dovetail/test_runner.py
diff options
context:
space:
mode:
Diffstat (limited to 'dovetail/test_runner.py')
-rw-r--r--dovetail/test_runner.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/dovetail/test_runner.py b/dovetail/test_runner.py
index 588f049a..537fdec8 100644
--- a/dovetail/test_runner.py
+++ b/dovetail/test_runner.py
@@ -31,7 +31,7 @@ class DockerRunner(object):
def run(self):
Container.pull_image(self.testcase.validate_type())
container_id = Container.create(self.testcase.validate_type())
- if container_id == '':
+ if not container_id:
self.logger.error('failed to create container')
return