Commit de26b39d authored by Sebastien Robin's avatar Sebastien Robin

print exception when functional test is unable to launch browser

parent 46048103
......@@ -273,7 +273,8 @@ class FunctionalTestRunner:
time.sleep(10)
if (time.time() - start) > float(self.timeout):
raise TimeoutError("Test took more than %s seconds" % self.timeout)
except:
print("ERP5TypeFunctionalTestCase.test Exception: %r" % (sys.exc_info(),)
finally:
self.browser.quit()
xvfb.quit()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment