diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2017-05-19 08:04:12 +0200 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2017-05-19 11:44:06 +0200 |
commit | d56d208fdf7bdb28c03e239b2579f7af25c33700 (patch) | |
tree | 0e28b92f1288fbd2ffc2f7701d9e29faf343d4f0 /functest/opnfv_tests | |
parent | ed88e5e9abb8c24cee2507b62a45878637411c25 (diff) |
Precise self.result in pytest_suite_runner.py
It also adds the related unit tests.
Change-Id: I8325bd9a55c69b229e3c48a9e64aa963e685e03d
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'functest/opnfv_tests')
-rwxr-xr-x | functest/opnfv_tests/sdn/odl/odl.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/functest/opnfv_tests/sdn/odl/odl.py b/functest/opnfv_tests/sdn/odl/odl.py index 6f586b7a..45ed7cc8 100755 --- a/functest/opnfv_tests/sdn/odl/odl.py +++ b/functest/opnfv_tests/sdn/odl/odl.py @@ -107,7 +107,7 @@ class ODLTests(testcase.TestCase): result.suite.statistics.critical.passed / result.suite.statistics.critical.total) except ZeroDivisionError: - self.__logger.error("No test has been ran") + self.__logger.error("No test has been run") self.start_time = timestamp_to_secs(result.suite.starttime) self.stop_time = timestamp_to_secs(result.suite.endtime) self.details = {} |