summaryrefslogtreecommitdiffstats
path: root/reporting/functest
diff options
context:
space:
mode:
authorboucherv <valentin.boucher@orange.com>2016-06-24 18:37:30 +0200
committerboucherv <valentin.boucher@orange.com>2016-06-24 18:37:30 +0200
commitc4357b016d8859ad09c009eed071635943ccd012 (patch)
tree12eb218dfc1c9636de74b2af91571e932f7ee345 /reporting/functest
parent18b809c51697703261c3cc5edb63f369c97e6f82 (diff)
change version to scenario
Change-Id: I0942e9c8f23e886d6a6e344fa1fd1c24c1cd3f4b Signed-off-by: boucherv <valentin.boucher@orange.com>
Diffstat (limited to 'reporting/functest')
-rw-r--r--reporting/functest/reporting-vims.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/reporting/functest/reporting-vims.py b/reporting/functest/reporting-vims.py
index 922c6f3..4033687 100644
--- a/reporting/functest/reporting-vims.py
+++ b/reporting/functest/reporting-vims.py
@@ -34,12 +34,13 @@ for installer in installers:
print 'No kittez. Got an error code:', e
test_results = results['results']
+ test_results.reverse()
scenario_results = {}
for r in test_results:
- if not r['version'] in scenario_results.keys():
- scenario_results[r['version']] = []
- scenario_results[r['version']].append(r)
+ if not r['scenario'] in scenario_results.keys():
+ scenario_results[r['scenario']] = []
+ scenario_results[r['scenario']].append(r)
for s, s_result in scenario_results.items():
scenario_results[s] = s_result[0:5]