summaryrefslogtreecommitdiffstats
path: root/dovetail/test_runner.py
diff options
context:
space:
mode:
authorxudan <xudan16@huawei.com>2018-05-29 02:42:11 -0400
committerxudan <xudan16@huawei.com>2018-06-14 00:00:34 -0400
commit46754323aeac6193dd9b451a6525a478fdb0887b (patch)
tree8ddca633d4093347bcf3f6fb64b702262cf6c668 /dovetail/test_runner.py
parent71f945d3e3ca38e4a954a6475234e176e150d2f7 (diff)
Replace openstack commands with shade
Use openstack shade to get endpoint infomation rather than executing openstack commands directly. The next step can replace openstack commands by shade for some test cases that need to create openstack resources (images, flavors) if we agree to use shade. JIRA: DOVETAIL-659 Change-Id: I72b302fb2d4a61e9249a7e53f81ea9464944dcd3 Signed-off-by: xudan <xudan16@huawei.com>
Diffstat (limited to 'dovetail/test_runner.py')
-rw-r--r--dovetail/test_runner.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/dovetail/test_runner.py b/dovetail/test_runner.py
index 44eddabd..7aa5854c 100644
--- a/dovetail/test_runner.py
+++ b/dovetail/test_runner.py
@@ -187,9 +187,12 @@ class DockerRunner(object):
class FunctestRunner(DockerRunner):
+ config_file_name = 'functest_config.yml'
+
def __init__(self, testcase):
self.type = 'functest'
super(FunctestRunner, self).__init__(testcase)
+ self._update_config(testcase)
class YardstickRunner(DockerRunner):