diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2016-12-17 10:59:52 +0100 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2016-12-17 11:07:33 +0100 |
commit | 6f798d51022c7709f678ae996a3a9b13de090aa0 (patch) | |
tree | 0578d1b3141a450dbb98d4cc0640582af5d45e6c /functest/opnfv_tests/sdn/odl | |
parent | 96047f5cd8427bdacfcb911cd95a68bfba845db5 (diff) |
Cover ODLResultVisitor
It adds unit tests to cover ODLResultVisitor and then increases the
coverage to 78%. It also fixes a nit in details pushed to DB.
Change-Id: Ie4c31df67b5197c4273ee835242153e74b50601d
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'functest/opnfv_tests/sdn/odl')
-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 706b0dad..0905e55c 100755 --- a/functest/opnfv_tests/sdn/odl/odl.py +++ b/functest/opnfv_tests/sdn/odl/odl.py @@ -35,7 +35,7 @@ class ODLResultVisitor(ResultVisitor): output['name'] = test.name output['parent'] = test.parent.name output['status'] = test.status - output['startime'] = test.starttime + output['starttime'] = test.starttime output['endtime'] = test.endtime output['critical'] = test.critical output['text'] = test.message |