From 2b8e34453234b8b31ebc9e7020f8677bf3889898 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 2 Dec 2023 12:48:54 +0300 Subject: [PATCH] add some unittest options for xmlrunner --- tests/integration/selenium_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/selenium_test.py b/tests/integration/selenium_test.py index 137462698..11aa96fc0 100644 --- a/tests/integration/selenium_test.py +++ b/tests/integration/selenium_test.py @@ -69,4 +69,4 @@ class SeleniumTest(unittest.TestCase): assert self.driver.find_element(by=By.CSS_SELECTOR, value="#feedTree").is_displayed() with open('selenium-report.xml', 'wb') as output: - unittest.main(testRunner=xmlrunner.XMLTestRunner(output=output)) + unittest.main(testRunner=xmlrunner.XMLTestRunner(output=output), failfast=False, buffer=False, catchbreak=False)