Bugfix: fix the wrong class name
authorhelenyao <yaohelan@huawei.com>
Wed, 7 Dec 2016 07:20:56 +0000 (02:20 -0500)
committerhelenyao <yaohelan@huawei.com>
Wed, 7 Dec 2016 07:20:56 +0000 (02:20 -0500)
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 <yaohelan@huawei.com>
functest/ci/run_tests.py

index 7de1577..d2a64ae 100644 (file)
@@ -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: