mirror of
https://github.com/django/django.git
synced 2025-08-04 19:08:28 +00:00
Fixed #21227 -- Added workaround for selenium test failures
Added a refresh() before quit() in the selenium tests, since this solves the problem of spurious test failures in some environments.
This commit is contained in:
parent
43569647ab
commit
08c9ab5a0f
2 changed files with 2 additions and 0 deletions
|
@ -189,6 +189,7 @@ class JavascriptI18nTests(LiveServerTestCase):
|
|||
|
||||
@classmethod
|
||||
def tearDownClass(cls):
|
||||
cls.selenium.refresh() # see ticket #21227
|
||||
cls.selenium.quit()
|
||||
super(JavascriptI18nTests, cls).tearDownClass()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue