reporting status of the test result should be checked based on
execution result not push_to_db result
Change-Id: I6f550f8243ba021108ce899cbebe98f3ff45c0e1
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
test_case = cls()
result = test_case.run()
if result != TestCasesBase.TestCasesBase.EX_SKIP and REPORT_FLAG:
- result = test_case.push_to_db()
+ test_case.push_to_db()
except ImportError:
logger.exception("Cannot import module {}".format(
run_dict['module']))