aboutsummaryrefslogtreecommitdiffstats
path: root/xtesting/core/robotframework.py
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2021-10-22 16:38:28 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2021-11-08 15:34:56 +0100
commit92681911699428a87ea56c0263832b96a93da3da (patch)
treea4ea7b315607c8f7812e91b11606359cf6a8d01d /xtesting/core/robotframework.py
parent78a7a64b8e304c0fa396ceb0f0527f1cedd0eeb1 (diff)
Update robotframework to latest release
Change-Id: I298320f666e048d42047fd00de74df83142a5186 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'xtesting/core/robotframework.py')
-rw-r--r--xtesting/core/robotframework.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/xtesting/core/robotframework.py b/xtesting/core/robotframework.py
index 3e3d9de8..3a439eca 100644
--- a/xtesting/core/robotframework.py
+++ b/xtesting/core/robotframework.py
@@ -39,7 +39,6 @@ class ResultVisitor(robot.api.ResultVisitor):
output['status'] = test.status
output['starttime'] = test.starttime
output['endtime'] = test.endtime
- output['critical'] = test.critical
output['text'] = test.message
output['elapsedtime'] = test.elapsedtime
self._data.append(output)
@@ -65,8 +64,8 @@ class RobotFramework(testcase.TestCase):
result.visit(visitor)
try:
self.result = 100 * (
- result.suite.statistics.critical.passed /
- result.suite.statistics.critical.total)
+ result.suite.statistics.passed /
+ result.suite.statistics.total)
except ZeroDivisionError:
self.__logger.error("No test has been run")
self.start_time = timestamp_to_secs(result.suite.starttime)