summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--utils/test/reporting/reporting/utils/reporting_utils.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/utils/test/reporting/reporting/utils/reporting_utils.py b/utils/test/reporting/reporting/utils/reporting_utils.py
index 8dc4f0933..58a0c6233 100644
--- a/utils/test/reporting/reporting/utils/reporting_utils.py
+++ b/utils/test/reporting/reporting/utils/reporting_utils.py
@@ -114,7 +114,8 @@ def getScenarios(project, case, installer, version):
"""
Get the list of Scenarios
"""
-
+ test_results = None
+ scenario_results = None
period = get_config('general.period')
url_base = get_config('testapi.url')
@@ -373,8 +374,8 @@ def getCaseScoreFromBuildTag(testCase, s_results):
test_result_indicator += 1
except:
print "No results found for this case"
- if test_result_indicator > 3:
- test_result_indicator = 3
+ if test_result_indicator > 2:
+ test_result_indicator = test_result_indicator - 1
return test_result_indicator