summaryrefslogtreecommitdiffstats
path: root/dovetail/test_runner.py
diff options
context:
space:
mode:
authorxudan <xudan16@huawei.com>2017-03-15 10:17:08 +0000
committerxudan <xudan16@huawei.com>2017-03-20 01:24:08 +0000
commit3cf37c9ac7b40a388f81fed13cfb0ad606dcd9a1 (patch)
treeeb283d7c2693bf1fefefd7e0b7c59cca3107be02 /dovetail/test_runner.py
parent04a464ac81ac43f536ba73af3666a149c97f8369 (diff)
dovetail tool: change name of credentials from creds to openrc
1. change file name from openstack.creds to openrc.sh 2. change the cmd --creds to --openrc/-o 3. now the path of --openrc can be relative path no restrict to abspath 4. remove the useless "work_dir" in dovetail_config.yml JIRA: DOVETAIL-369 JIRA: DOVETAIL-367 Change-Id: I2592438eef060f84132ff7fa226aea93ea947362 Signed-off-by: xudan <xudan16@huawei.com>
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