add some unittest options for xmlrunner

This commit is contained in:
Andrew Dolgov 2023-12-02 12:48:54 +03:00
parent e453befab6
commit 2b8e344532
No known key found for this signature in database
GPG Key ID: 1A56B4FA25D4AF2A
1 changed files with 1 additions and 1 deletions

View File

@ -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)