Merge "Restructure docs"
[functest.git] / functest / ci / run_tests.py
index b1ab916..f920e70 100755 (executable)
@@ -48,7 +48,7 @@ class BlockingTestFailed(Exception):
     pass
 
 
-class RunTestsParser():
+class RunTestsParser(object):
 
     def __init__(self):
         self.parser = argparse.ArgumentParser()
@@ -164,7 +164,7 @@ def run_test(test, tier_name, testcases=None):
                 result = test_case.run()
             if result == testcase_base.TestcaseBase.EX_OK:
                 if GlobalVariables.REPORT_FLAG:
-                    test_case.publish_report()
+                    test_case.push_to_db()
                 result = test_case.check_criteria()
         except ImportError:
             logger.exception("Cannot import module {}".format(