summaryrefslogtreecommitdiffstats
path: root/reporting/reporting/utils/reporting_utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'reporting/reporting/utils/reporting_utils.py')
-rw-r--r--reporting/reporting/utils/reporting_utils.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/reporting/reporting/utils/reporting_utils.py b/reporting/reporting/utils/reporting_utils.py
index 8dc4f09..58a0c62 100644
--- a/reporting/reporting/utils/reporting_utils.py
+++ b/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