diff --git a/tests/regressiontests/admin_views/tests.py b/tests/regressiontests/admin_views/tests.py
index 80319f0329..725369a5b1 100644
--- a/tests/regressiontests/admin_views/tests.py
+++ b/tests/regressiontests/admin_views/tests.py
@@ -2228,16 +2228,19 @@ try:
self.assertContains(response, "
Built-in tags
", count=2)
# A builtin tag exists in both the index and detail
- self.assertContains(response, 'autoescape
')
- self.assertContains(response, 'autoescape')
+ self.assertContains(response, 'autoescape
')
+ self.assertContains(response, 'autoescape')
# An app tag exists in both the index and detail
- # The builtin tag group exists
+ self.assertContains(response, 'get_flatpages
')
+ self.assertContains(response, 'get_flatpages')
+
+ # The admin list tag group exists
self.assertContains(response, "admin_list
", count=2)
- # A builtin tag exists in both the index and detail
- self.assertContains(response, 'autoescape
')
- self.assertContains(response, 'admin_actions')
+ # An admin list tag exists in both the index and detail
+ self.assertContains(response, 'admin_actions
')
+ self.assertContains(response, 'admin_actions')
def test_filters(self):
response = self.client.get('/test_admin/admin/doc/filters/')
@@ -2246,8 +2249,8 @@ try:
self.assertContains(response, "Built-in filters
", count=2)
# A builtin filter exists in both the index and detail
- self.assertContains(response, 'add
')
- self.assertContains(response, 'add')
+ self.assertContains(response, 'add
')
+ self.assertContains(response, 'add')
except ImportError:
pass