mirror of https://github.com/django/django.git
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
This commit is contained in:
parent
58cd220f51
commit
65b6080da2
|
@ -931,8 +931,9 @@ class AdminViewListEditable(TestCase):
|
|||
# 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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue