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

This reverts commit 6a708cd654.

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
1 changed files with 0 additions and 6 deletions

View File

@ -1116,12 +1116,6 @@ class LiveWidgetTests(AdminSeleniumWebDriverTestCase):
article = Article.objects.get(pk=article.pk) article = Article.objects.get(pk=article.pk)
# Should be "\nTst\n" after #19251 is fixed # Should be "\nTst\n" after #19251 is fixed
self.assertEqual(article.content, "\r\nTst\r\n") 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 @python_2_unicode_compatible