Skip to content

Commit 6bc74f0

Browse files
committed
[1.2.X] Fix AdminDocsTest failure on 1.2.X branch by correcting the test to reference an app tag that actually exists in 1.2.X.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13764 bcc190cf-cafb-0310-a4f2-bffc1f526a37
1 parent ceedef1 commit 6bc74f0

File tree

1 file changed

+2
-2
lines changed
  • tests/regressiontests/admin_views

1 file changed

+2
-2
lines changed

tests/regressiontests/admin_views/tests.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2210,8 +2210,8 @@ def test_tags(self):
22102210
self.assertContains(response, '<li><a href="#built_in-autoescape">autoescape</a></li>')
22112211

22122212
# An app tag exists in both the index and detail
2213-
self.assertContains(response, '<h3 id="flatpages-get_flatpages">get_flatpages</h3>')
2214-
self.assertContains(response, '<li><a href="#flatpages-get_flatpages">get_flatpages</a></li>')
2213+
self.assertContains(response, '<h3 id="comments-get_comment_count">get_comment_count</h3>')
2214+
self.assertContains(response, '<li><a href="#comments-get_comment_count">get_comment_count</a></li>')
22152215

22162216
# The admin list tag group exists
22172217
self.assertContains(response, "<h2>admin_list</h2>", count=2)

0 commit comments

Comments
 (0)