From ade54b8ec63fc674cfd7d7e0a893b7e34f6b44b1 Mon Sep 17 00:00:00 2001 From: Morgan Richomme Date: Fri, 22 Apr 2016 11:18:36 +0200 Subject: Affect version field in results for all the testcases Previously version was scenario JIRA: FUNCTEST-225 Change-Id: Ia86f83dbe98ad5f9dbced60c46e57f58eccba7e9 Signed-off-by: Morgan Richomme --- testcases/vPing/CI/libraries/vPing_ssh.py | 2 +- testcases/vPing/CI/libraries/vPing_userdata.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'testcases/vPing') diff --git a/testcases/vPing/CI/libraries/vPing_ssh.py b/testcases/vPing/CI/libraries/vPing_ssh.py index 3d2ff7084..f7e9884ee 100644 --- a/testcases/vPing/CI/libraries/vPing_ssh.py +++ b/testcases/vPing/CI/libraries/vPing_ssh.py @@ -258,7 +258,7 @@ def push_results(start_time_ts, duration, test_status): try: logger.debug("Pushing result into DB...") scenario = functest_utils.get_scenario(logger) - version = scenario + version = functest_utils.get_version(logger) criteria = "failed" if test_status == "OK": criteria = "passed" diff --git a/testcases/vPing/CI/libraries/vPing_userdata.py b/testcases/vPing/CI/libraries/vPing_userdata.py index 0adfc6dbd..798cf1c63 100644 --- a/testcases/vPing/CI/libraries/vPing_userdata.py +++ b/testcases/vPing/CI/libraries/vPing_userdata.py @@ -252,7 +252,7 @@ def push_results(start_time_ts, duration, test_status): try: logger.debug("Pushing result into DB...") scenario = functest_utils.get_scenario(logger) - version = scenario + version = functest_utils.get_version(logger) criteria = "failed" if test_status == "OK": criteria = "passed" -- cgit 1.2.3-korg