Commit 1592127c authored by Michal Čihař's avatar Michal Čihař

Do not try to record status of not run Selenium tests

parent 0f4fd87e
......@@ -45,9 +45,10 @@ class SeleniumTests(LiveServerTestCase):
failures = result.failures
super(SeleniumTests, self).run(result)
self.set_test_status(
(errors == result.errors and failures == result.failures)
)
if DO_SELENIUM:
self.set_test_status(
(errors == result.errors and failures == result.failures)
)
@classmethod
def setUpClass(cls):
......
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