Get full output on test failure

This commit is contained in:
Michael Droettboom 2018-05-11 10:52:49 -04:00
parent 5a7992f87b
commit 21e9a4c770
1 changed files with 1 additions and 2 deletions

View File

@ -76,7 +76,6 @@ if pytest is not None:
selenium = SeleniumWrapper() selenium = SeleniumWrapper()
try: try:
yield selenium yield selenium
except:
print(selenium.logs)
finally: finally:
print('\n'.join(selenium.logs))
selenium.driver.quit() selenium.driver.quit()