aboutsummaryrefslogtreecommitdiffstats
path: root/functest/ci/run_tests.py
diff options
context:
space:
mode:
authorhelenyao <yaohelan@huawei.com>2016-12-01 21:52:43 -0500
committerjose.lausuch <jose.lausuch@ericsson.com>2016-12-02 17:01:19 +0100
commitdc733c31177b0ffdc4c30b9c4801b765909f1c50 (patch)
tree574c2eccbece763723e72d1a23251d3495f939ea /functest/ci/run_tests.py
parent9e469ae7bb108bc38cbb9fa8e6a81e8f3ff9a1a7 (diff)
Rename TestCasesBase into TestcaseBase
JIRA: FUNCTEST-628 1. rename the TestCasesBase into TestcaseBase 2. updated the module name to testcase_base.py Change-Id: Ic6b5d8209098c136613a2419c3790668fdbd493e Signed-off-by: helenyao <yaohelan@huawei.com>
Diffstat (limited to 'functest/ci/run_tests.py')
-rw-r--r--functest/ci/run_tests.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/functest/ci/run_tests.py b/functest/ci/run_tests.py
index 66d5881de..7de1577d4 100644
--- a/functest/ci/run_tests.py
+++ b/functest/ci/run_tests.py
@@ -18,7 +18,7 @@ import argparse
import functest.ci.generate_report as generate_report
import functest.ci.tier_builder as tb
-import functest.core.TestCasesBase as TestCasesBase
+import functest.core.testcase_base as testcase_base
import functest.utils.functest_logger as ft_logger
import functest.utils.functest_utils as ft_utils
import functest.utils.functest_constants as ft_constants
@@ -132,7 +132,7 @@ def run_test(test, tier_name):
if GlobalVariables.REPORT_FLAG:
flags += " -r"
- result = TestCasesBase.TestCasesBase.EX_RUN_ERROR
+ result = testcase_base.TestcaseBase.EX_RUN_ERROR
run_dict = get_run_dict_if_defined(test_name)
if run_dict:
try:
@@ -140,7 +140,7 @@ def run_test(test, tier_name):
cls = getattr(module, run_dict['class'])
test_case = cls()
result = test_case.run()
- if (result == TestCasesBase.TestCasesBase.EX_OK and
+ if (result == testcase_base.TestCasesBase.EX_OK and
GlobalVariables.REPORT_FLAG):
result = test_case.push_to_db()
except ImportError: