Remove all logers as utils method args.
[functest-xtesting.git] / testcases / features / doctor.py
index 02edd25..7139313 100755 (executable)
@@ -41,7 +41,7 @@ def main():
     cmd = 'cd %s/tests && ./run.sh' % DOCTOR_REPO
     start_time = time.time()
 
-    ret = functest_utils.execute_command(cmd, logger, info=True,
+    ret = functest_utils.execute_command(cmd, info=True,
                                          exit_on_error=False)
 
     stop_time = time.time()
@@ -62,13 +62,12 @@ def main():
     status = "FAIL"
     if details['status'] == "OK":
         status = "PASS"
-    functest_utils.logger_test_results(logger, "Doctor",
+    functest_utils.logger_test_results("Doctor",
                                        "doctor-notification",
                                        status, details)
     if args.report:
         functest_utils.push_results_to_db("doctor",
                                           "doctor-notification",
-                                          logger,
                                           start_time,
                                           stop_time,
                                           status,