summaryrefslogtreecommitdiffstats
path: root/reporting/yardstick/scenarioResult.py
diff options
context:
space:
mode:
Diffstat (limited to 'reporting/yardstick/scenarioResult.py')
-rw-r--r--reporting/yardstick/scenarioResult.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/reporting/yardstick/scenarioResult.py b/reporting/yardstick/scenarioResult.py
index 61ffb2c..1f7eb2b 100644
--- a/reporting/yardstick/scenarioResult.py
+++ b/reporting/yardstick/scenarioResult.py
@@ -9,10 +9,12 @@
class ScenarioResult(object):
- def __init__(self, status, four_days_score='', ten_days_score=''):
+ def __init__(self, status, four_days_score='', ten_days_score='',
+ score_percent=0.0):
self.status = status
self.four_days_score = four_days_score
self.ten_days_score = ten_days_score
+ self.score_percent = score_percent
def getStatus(self):
return self.status
@@ -22,3 +24,6 @@ class ScenarioResult(object):
def getFourDaysScore(self):
return self.four_days_score
+
+ def getScorePercent(self):
+ return self.score_percent