Adapt some calls to functest_utils that don't require logger 65/20365/1
authorjose.lausuch <jose.lausuch@ericsson.com>
Mon, 5 Sep 2016 15:37:35 +0000 (17:37 +0200)
committerjose.lausuch <jose.lausuch@ericsson.com>
Mon, 5 Sep 2016 15:38:25 +0000 (17:38 +0200)
Due to a small refactor of some functions in Functest,
the calls to those are outdated and fail.

Change-Id: I1fdce5d343fc55ecd1b25a837608c7172047f22e
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
test/functest/run_tests.py
test/functest/tempest.py

index 7092479..6f3a969 100644 (file)
@@ -33,7 +33,6 @@ def push_results(testname, start_time, end_time, criteria, details):
     logger.info("Push testcase '%s' results into the DB...\n" % testname)
     ft_utils.push_results_to_db("sdnvpn",
                                 testname,
-                                logger,
                                 start_time,
                                 end_time,
                                 criteria,
index 832cb4a..61616de 100644 (file)
@@ -26,7 +26,7 @@ SUCCESS_CRITERIA = ft_utils.get_parameter_from_yaml(
 
 
 def main():
-    src_tempest_dir = ft_utils.get_deployment_dir(logger)
+    src_tempest_dir = ft_utils.get_deployment_dir()
     if not src_tempest_dir:
         logger.error("Rally deployment not found.")
         exit(-1)