From c5c6dce10bfa43dacd3043ebe9942689eed8b9a4 Mon Sep 17 00:00:00 2001 From: SerenaFeng Date: Thu, 24 Nov 2016 10:32:53 +0800 Subject: abstract umbrella part to make integration code simpler implement an abstract class Umbrella, and take parser for instance JIRA: FUNCTEST-618 Change-Id: Iadf71ad49abd901b9659cb71135fc902a3b616d1 Signed-off-by: SerenaFeng --- functest/ci/run_tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'functest/ci') diff --git a/functest/ci/run_tests.py b/functest/ci/run_tests.py index 7de1577d..3f02c872 100644 --- a/functest/ci/run_tests.py +++ b/functest/ci/run_tests.py @@ -140,9 +140,9 @@ def run_test(test, tier_name): cls = getattr(module, run_dict['class']) test_case = cls() result = test_case.run() - if (result == testcase_base.TestCasesBase.EX_OK and + if (result == testcase_base.TestcaseBase.EX_OK and GlobalVariables.REPORT_FLAG): - result = test_case.push_to_db() + test_case.push_to_db() except ImportError: logger.exception("Cannot import module {}".format( run_dict['module'])) -- cgit 1.2.3-korg