summaryrefslogtreecommitdiffstats
path: root/testcases/features/promise.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/features/promise.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/features/promise.py')
-rw-r--r--testcases/features/promise.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/testcases/features/promise.py b/testcases/features/promise.py
index 04ca87a70..72c5ecb3f 100644
--- a/testcases/features/promise.py
+++ b/testcases/features/promise.py
@@ -244,6 +244,7 @@ def main():
pod_name = functest_utils.get_pod_name(logger)
installer = functest_utils.get_installer_type(logger)
scenario = functest_utils.get_scenario(logger)
+ version = functest_utils.get_version(logger)
build_tag = functest_utils.get_build_tag(logger)
# git_version = functest_utils.get_git_branch(PROMISE_REPO)
url = TEST_DB + "/results"
@@ -259,7 +260,7 @@ def main():
params = {"project_name": "promise", "case_name": "promise",
"pod_name": str(pod_name), 'installer': installer,
- "version": scenario, "scenario": scenario,
+ "version": version, "scenario": scenario,
"criteria": status, "build_tag": build_tag,
'details': json_results}
headers = {'Content-Type': 'application/json'}