From 5eed2fbbb5def0eea9dbfb048db96a131b71ca72 Mon Sep 17 00:00:00 2001 From: boucherv Date: Fri, 24 Jun 2016 18:37:30 +0200 Subject: change version to scenario Change-Id: I0942e9c8f23e886d6a6e344fa1fd1c24c1cd3f4b Signed-off-by: boucherv --- utils/test/reporting/functest/reporting-vims.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'utils') 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] -- cgit 1.2.3-korg