aboutsummaryrefslogtreecommitdiffstats
path: root/xtesting
diff options
context:
space:
mode:
Diffstat (limited to 'xtesting')
-rw-r--r--xtesting/core/robotframework.py2
-rw-r--r--xtesting/tests/unit/core/test_robotframework.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/xtesting/core/robotframework.py b/xtesting/core/robotframework.py
index 9865a26f..2791b559 100644
--- a/xtesting/core/robotframework.py
+++ b/xtesting/core/robotframework.py
@@ -127,7 +127,7 @@ class RobotFramework(testcase.TestCase):
try:
self.parse_results()
self.__logger.info("Results were successfully parsed")
- assert self.generate_report() == 0
+ self.generate_report()
self.__logger.info("Results were successfully generated")
except RobotError as ex:
self.__logger.error("Run suites before publishing: %s", ex.message)
diff --git a/xtesting/tests/unit/core/test_robotframework.py b/xtesting/tests/unit/core/test_robotframework.py
index 4cda171c..398cf87a 100644
--- a/xtesting/tests/unit/core/test_robotframework.py
+++ b/xtesting/tests/unit/core/test_robotframework.py
@@ -283,7 +283,7 @@ class RunTesting(unittest.TestCase):
def test_generate_report_err(self):
with mock.patch.object(self.test, 'generate_report',
return_value=1) as mmethod:
- self._test_generate_report(self.test.EX_RUN_ERROR)
+ self._test_generate_report(self.test.EX_OK)
mmethod.assert_called_once_with()
def test_generate_report(self):