aboutsummaryrefslogtreecommitdiffstats
path: root/functest/opnfv_tests
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2017-03-29 06:45:31 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-03-29 06:45:31 +0000
commit822ec0154205a0f260c5faed2cf215b6c4bbcec2 (patch)
tree8cf06c20f2eb7198ff726d9933bcb04885ff7808 /functest/opnfv_tests
parent443757aa99ccfcb743b132e14f36d61aef2de282 (diff)
parentd2b8732ef3670586e28c40f5cec4e1ff42e22d37 (diff)
Merge "refstack: bugfix of name TestCase"
Diffstat (limited to 'functest/opnfv_tests')
-rwxr-xr-xfunctest/opnfv_tests/openstack/refstack_client/refstack_client.py2
-rwxr-xr-xfunctest/opnfv_tests/openstack/refstack_client/tempest_conf.py6
2 files changed, 4 insertions, 4 deletions
diff --git a/functest/opnfv_tests/openstack/refstack_client/refstack_client.py b/functest/opnfv_tests/openstack/refstack_client/refstack_client.py
index 101bf736..37aa9e39 100755
--- a/functest/opnfv_tests/openstack/refstack_client/refstack_client.py
+++ b/functest/opnfv_tests/openstack/refstack_client/refstack_client.py
@@ -184,7 +184,7 @@ class RefstackClient(testcase.TestCase):
self.source_venv()
self._prep_test()
self.run_defcore(self.confpath, self.testlist)
- res = testcase.TestcaseBase.EX_OK
+ res = testcase.TestCase.EX_OK
except Exception as e:
logger.error('Error with run: %s', e)
res = testcase.TestCase.EX_RUN_ERROR
diff --git a/functest/opnfv_tests/openstack/refstack_client/tempest_conf.py b/functest/opnfv_tests/openstack/refstack_client/tempest_conf.py
index 66876bbf..5624ed79 100755
--- a/functest/opnfv_tests/openstack/refstack_client/tempest_conf.py
+++ b/functest/opnfv_tests/openstack/refstack_client/tempest_conf.py
@@ -39,15 +39,15 @@ class TempestConf(object):
def main(self):
try:
self.generate_tempestconf()
- res = testcase.TestcaseBase.EX_OK
+ res = testcase.TestCase.EX_OK
except Exception as e:
logger.error('Error with run: %s', e)
- res = testcase.TestcaseBase.EX_RUN_ERROR
+ res = testcase.TestCase.EX_RUN_ERROR
return res
if __name__ == '__main__':
tempestconf = TempestConf()
result = tempestconf.main()
- if result != testcase.TestcaseBase.EX_OK:
+ if result != testcase.TestCase.EX_OK:
sys.exit(result)