summaryrefslogtreecommitdiffstats
path: root/utils/test/reporting/functest/scenarioResult.py
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2016-09-23 08:22:06 +0200
committerMorgan Richomme <morgan.richomme@orange.com>2016-09-23 08:22:06 +0200
commit6d1919171788cbc1bd003671ea2d31ccffbcb45d (patch)
treee1bd25ebdd8687c2db340b6ca36bea8693c149f3 /utils/test/reporting/functest/scenarioResult.py
parent9f7616b1e09a5d1aa2828f91c2b6f0e534e7a85f (diff)
Add hyperlink on scenarios
JIRA: FUNCTEST-482 Change-Id: Ibe19f153dc79ae1a9b78ec9eb52bb48898d63d7e Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
Diffstat (limited to 'utils/test/reporting/functest/scenarioResult.py')
-rw-r--r--utils/test/reporting/functest/scenarioResult.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/utils/test/reporting/functest/scenarioResult.py b/utils/test/reporting/functest/scenarioResult.py
index c6c337330..5a54eed96 100644
--- a/utils/test/reporting/functest/scenarioResult.py
+++ b/utils/test/reporting/functest/scenarioResult.py
@@ -10,10 +10,11 @@
class ScenarioResult(object):
- def __init__(self, status, score=0, score_percent=0):
+ def __init__(self, status, score=0, score_percent=0, url_lastrun=''):
self.status = status
self.score = score
self.score_percent = score_percent
+ self.url_lastrun = url_lastrun
def getStatus(self):
return self.status
@@ -22,4 +23,7 @@ class ScenarioResult(object):
return self.score
def getScorePercent(self):
- return self.score_percent \ No newline at end of file
+ return self.score_percent
+
+ def getUrlLastRun(self):
+ return self.url_lastrun