summaryrefslogtreecommitdiffstats
path: root/utils/test/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
commit5eed2fbbb5def0eea9dbfb048db96a131b71ca72 (patch)
tree7a845c11849336a66f31925bc87862ef65fe1a59 /utils/test/reporting/functest
parent09a30daffd6c56f5592a5ecdca88540b151ebce4 (diff)
change version to scenario
Change-Id: I0942e9c8f23e886d6a6e344fa1fd1c24c1cd3f4b Signed-off-by: boucherv <valentin.boucher@orange.com>
Diffstat (limited to 'utils/test/reporting/functest')
-rw-r--r--utils/test/reporting/functest/reporting-vims.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/utils/test/reporting/functest/reporting-vims.py b/utils/test/reporting/functest/reporting-vims.py
index 922c6f342..4033687e8 100644
--- a/utils/test/reporting/functest/reporting-vims.py
+++ b/utils/test/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]