summaryrefslogtreecommitdiffstats
path: root/utils/test/reporting/yardstick/scenarioResult.py
diff options
context:
space:
mode:
Diffstat (limited to 'utils/test/reporting/yardstick/scenarioResult.py')
-rw-r--r--utils/test/reporting/yardstick/scenarioResult.py12
1 files changed, 8 insertions, 4 deletions
diff --git a/utils/test/reporting/yardstick/scenarioResult.py b/utils/test/reporting/yardstick/scenarioResult.py
index 743346adc..61ffb2ce7 100644
--- a/utils/test/reporting/yardstick/scenarioResult.py
+++ b/utils/test/reporting/yardstick/scenarioResult.py
@@ -9,12 +9,16 @@
class ScenarioResult(object):
- def __init__(self, status, score=0):
+ def __init__(self, status, four_days_score='', ten_days_score=''):
self.status = status
- self.score = score
+ self.four_days_score = four_days_score
+ self.ten_days_score = ten_days_score
def getStatus(self):
return self.status
- def getScore(self):
- return self.score
+ def getTenDaysScore(self):
+ return self.ten_days_score
+
+ def getFourDaysScore(self):
+ return self.four_days_score