Commit 65b6080d authored by Russell Keith-Magee's avatar Russell Keith-Magee
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
parent 58cd220f
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -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)