diff options
Diffstat (limited to 'functest/ci/run_tests.py')
-rw-r--r-- | functest/ci/run_tests.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/functest/ci/run_tests.py b/functest/ci/run_tests.py index 66d5881d..7de1577d 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: |