aboutsummaryrefslogtreecommitdiffstats
path: root/xtesting/core/robotframework.py
diff options
context:
space:
mode:
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)