Browse files

[1.5.x] (Hopefully) fixed a failure in a selenium test.

No forward port to 1.6 since it has new transactionmanagement. The
wait_page_loaded should ensure that the liveserver has time to tear
down properly after the submit.
  • Loading branch information...
1 parent 4607c73 commit 4770fc1c625351f0f2cc60553db773c8a89ac230 @apollo13 apollo13 committed Sep 15, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 tests/regressiontests/forms/tests/
@@ -1112,6 +1112,7 @@ def test_textarea_trailing_newlines(self):
self.selenium.get('%s%s' % (self.live_server_url,
reverse('article_form', args=[])))
+ self.wait_page_loaded()
article = Article.objects.get(
# Should be "\nTst\n" after #19251 is fixed
self.assertEqual(article.content, "\r\nTst\r\n")

0 comments on commit 4770fc1

Please sign in to comment.