From: helenyao Date: Wed, 7 Dec 2016 07:20:56 +0000 (-0500) Subject: Bugfix: fix the wrong class name X-Git-Tag: danube.1.RC1~269 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=b6664d297b65a2e06610131e5036e3c37cae4356;p=functest.git Bugfix: fix the wrong class name JIRA: FUNCTEST-642 Fix the bug of patch: https://gerrit.opnfv.org/gerrit/#/c/25391/5/functest/ci/run_tests.py Change-Id: Iad2f1be32bdf0c391a40cd845ed2ca52ce8856f6 Signed-off-by: helenyao --- diff --git a/functest/ci/run_tests.py b/functest/ci/run_tests.py index 7de1577d4..d2a64aea1 100644 --- a/functest/ci/run_tests.py +++ b/functest/ci/run_tests.py @@ -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 == testcase_base.TestCasesBase.EX_OK and + if (result == testcase_base.TestcaseBase.EX_OK and GlobalVariables.REPORT_FLAG): result = test_case.push_to_db() except ImportError: