diff options
author | MatthewLi <matthew.lijun@huawei.com> | 2017-03-29 23:24:05 -0400 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2017-04-04 15:58:28 +0200 |
commit | 2f0b1281308cb494d83240eaa5137ca0524718b7 (patch) | |
tree | 27f87d84d5ad8e4aaa6e0e946b2e6ba958218546 /functest/opnfv_tests/openstack/refstack_client/refstack_client.py | |
parent | db9767d6871b3601265b46645d2ff7656f3a0bb4 (diff) |
refstack client: improvement and fix of TestCase usage
JIRA: FUNCTEST-772
1, RefstackClientParser should not be a subclass of TestCase
2, tempest_conf.py used for generating reference tempest.conf file
not related to functest cmd, use logger is enough
Change-Id: If9c37331a5a7687e5704e546efcdea8175b1529c
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
Diffstat (limited to 'functest/opnfv_tests/openstack/refstack_client/refstack_client.py')
-rwxr-xr-x | functest/opnfv_tests/openstack/refstack_client/refstack_client.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/functest/opnfv_tests/openstack/refstack_client/refstack_client.py b/functest/opnfv_tests/openstack/refstack_client/refstack_client.py index 2d04869a..441abfee 100755 --- a/functest/opnfv_tests/openstack/refstack_client/refstack_client.py +++ b/functest/opnfv_tests/openstack/refstack_client/refstack_client.py @@ -191,10 +191,9 @@ class RefstackClient(testcase.TestCase): return res -class RefstackClientParser(testcase.TestCase): +class RefstackClientParser(object): - def __init__(self, case_name=''): - super(RefstackClientParser, self).__init__(case_name) + def __init__(self): self.FUNCTEST_TEST = CONST.dir_functest_test self.CONF_PATH = CONST.refstack_tempest_conf_path self.DEFCORE_LIST = CONST.refstack_defcore_list |