aboutsummaryrefslogtreecommitdiffstats
path: root/testcases/vPing/CI/libraries/vPing_ssh.py
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2016-04-22 11:18:36 +0200
committerMorgan Richomme <morgan.richomme@orange.com>2016-04-22 13:55:19 +0200
commitade54b8ec63fc674cfd7d7e0a893b7e34f6b44b1 (patch)
tree6e3cd547ecba1cb1ab3a9d90ad08209291b49cc9 /testcases/vPing/CI/libraries/vPing_ssh.py
parente452376fbc44df9cf0688571e1882498f456f3a4 (diff)
Affect version field in results for all the testcases
Previously version was scenario JIRA: FUNCTEST-225 Change-Id: Ia86f83dbe98ad5f9dbced60c46e57f58eccba7e9 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
Diffstat (limited to 'testcases/vPing/CI/libraries/vPing_ssh.py')
-rw-r--r--testcases/vPing/CI/libraries/vPing_ssh.py2
1 files changed, 1 insertions, 1 deletions
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"