aboutsummaryrefslogtreecommitdiffstats
path: root/testcases/Controllers
diff options
context:
space:
mode:
Diffstat (limited to 'testcases/Controllers')
-rw-r--r--testcases/Controllers/ODL/CI/odlreport2db.py2
-rw-r--r--testcases/Controllers/ONOS/Teston/CI/onosfunctest.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/testcases/Controllers/ODL/CI/odlreport2db.py b/testcases/Controllers/ODL/CI/odlreport2db.py
index f236ddcb..983633ad 100644
--- a/testcases/Controllers/ODL/CI/odlreport2db.py
+++ b/testcases/Controllers/ODL/CI/odlreport2db.py
@@ -129,7 +129,7 @@ def main(argv):
# -i fuel
# -p opnfv-jump-2
# -s os-odl_l2-ha
- version = scenario
+ version = functest_utils.get_version()
# success criteria for ODL = 100% of tests OK
status = "failed"
diff --git a/testcases/Controllers/ONOS/Teston/CI/onosfunctest.py b/testcases/Controllers/ONOS/Teston/CI/onosfunctest.py
index d36cf5ed..8186e7da 100644
--- a/testcases/Controllers/ONOS/Teston/CI/onosfunctest.py
+++ b/testcases/Controllers/ONOS/Teston/CI/onosfunctest.py
@@ -189,7 +189,7 @@ def main():
logger.debug("Push result into DB")
# TODO check path result for the file
scenario = functest_utils.get_scenario(logger)
- version = scenario
+ version = functest_utils.get_version(logger)
result = GetResult()
# ONOS success criteria = all tests OK