diff --git a/tests/regressiontests/admin_views/tests.py b/tests/regressiontests/admin_views/tests.py index 9b21cbac33..8749fee5ce 100644 --- a/tests/regressiontests/admin_views/tests.py +++ b/tests/regressiontests/admin_views/tests.py @@ -1956,7 +1956,7 @@ class ReadonlyTest(TestCase): self.assertNotContains(response, 'name="posted"') # 3 fields + 2 submit buttons + 4 inline management form fields, + 2 # hidden fields for inlines + 1 field for the inline + 2 empty form - self.assertEqual(response.content.count("input"), 14) + self.assertEqual(response.content.count("Awesomeness level:")