Permalink
Browse files

Fixed #12703 -- Corrected a test suite failure in the admin_views tests.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@12308 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 58cd220 commit 65b6080da2ef07cc4ef7a718a6d208562b2b68d8 @freakboy3742 freakboy3742 committed Jan 27, 2010
Showing with 3 additions and 2 deletions.
  1. +3 −2 tests/regressiontests/admin_views/tests.py
@@ -931,8 +931,9 @@ def test_changelist_input_html(self):
# main form submit button = 1
# search field and search submit button = 2
# CSRF field = 1
- # 6 + 2 + 4 + 1 + 2 + 1 = 16 inputs
- self.failUnlessEqual(response.content.count("<input"), 16)
+ # field to track 'select all' across paginated views = 1
+ # 6 + 2 + 4 + 1 + 2 + 1 + 1 = 17 inputs
+ self.failUnlessEqual(response.content.count("<input"), 17)
# 1 select per object = 3 selects
self.failUnlessEqual(response.content.count("<select"), 4)

0 comments on commit 65b6080

Please sign in to comment.