1
0
mirror of https://github.com/django/django.git synced 2025-04-22 00:04:43 +00:00

Revert "[1.5.x] Silenced last sporadic failure on 1.5."

This reverts commit 6a708cd654fe63278ea8a14b3e44da847c62ebf4.

Reverted since it only moved the failures to some other tests and it apperently
only worked by accident. Patched selenium for now to include:
https://github.com/SeleniumHQ/selenium/pull/118
which seems to be the root cause for sporadic extra requests to the live server,
which then cause all sorts of issues.
This commit is contained in:
Florian Apolloner 2013-09-18 16:54:30 +02:00
parent 72f7932cfb
commit 87c8de2a06

View File

@ -1116,12 +1116,6 @@ class LiveWidgetTests(AdminSeleniumWebDriverTestCase):
article = Article.objects.get(pk=article.pk)
# Should be "\nTst\n" after #19251 is fixed
self.assertEqual(article.content, "\r\nTst\r\n")
# So now it's becoming obscure; we do have threading issues here, so this
# test fails sometimes for sqlite, I could only ever witness it on jenkins.
# As long as 1.5 is supported we manually "fix" this test by quitting
# selenium. No idea why closing the browser window isn't enough, but hey…
self.selenium.quit()
delattr(self.__class__, 'selenium')
@python_2_unicode_compatible