Add logger to push_results_to_db args 85/19285/1
authorCédric Ollivier <cedric.ollivier@orange.com>
Tue, 23 Aug 2016 06:23:08 +0000 (08:23 +0200)
committerCédric Ollivier <cedric.ollivier@orange.com>
Tue, 23 Aug 2016 06:25:50 +0000 (08:25 +0200)
It conforms to the current implementation of functest_utils

Change-Id: I50fa05fbf81a7c76cf4a6e3ef906fffe8aec15bf
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
testcases/Controllers/ODL/OpenDaylightTesting.py

index 2806b4f..d3bc097 100755 (executable)
@@ -133,7 +133,7 @@ class ODLTestCases:
             details['description'] = result.suite.name
             details['tests'] = visitor.get_data()
             if not ft_utils.push_results_to_db(
-                    "functest", "odl", None, start_time, stop_time,
+                    "functest", "odl", cls.logger, start_time, stop_time,
                     result.suite.status, details):
                 cls.logger.error("Cannot push ODL results to DB")
                 return False