diff options
| author | Russell Keith-Magee <russell@keith-magee.com> | 2010-01-27 14:18:50 +0000 |
|---|---|---|
| committer | Russell Keith-Magee <russell@keith-magee.com> | 2010-01-27 14:18:50 +0000 |
| commit | 65b6080da2ef07cc4ef7a718a6d208562b2b68d8 (patch) | |
| tree | 6528555db71d69410e78c0ecf53e213e977d639d /tests/regressiontests/admin_views | |
| parent | 58cd220f51d5e294cb9e67c12a6e9d08523e282f (diff) | |
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
Diffstat (limited to 'tests/regressiontests/admin_views')
| -rw-r--r-- | tests/regressiontests/admin_views/tests.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/regressiontests/admin_views/tests.py b/tests/regressiontests/admin_views/tests.py index 38d5dfe397..7fc52b3460 100644 --- a/tests/regressiontests/admin_views/tests.py +++ b/tests/regressiontests/admin_views/tests.py @@ -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) |
