Permalink
Browse files

[1.2.X] Fix AdminDocsTest failure on 1.2.X branch by correcting the t…

…est 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
  • Loading branch information...
1 parent ceedef1 commit 6bc74f06e284dd4be40833c4231449e6c5d23ed0 @kmtracey kmtracey committed Sep 12, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/regressiontests/admin_views/tests.py
View
4 tests/regressiontests/admin_views/tests.py
@@ -2210,8 +2210,8 @@ def test_tags(self):
self.assertContains(response, '<li><a href="#built_in-autoescape">autoescape</a></li>')
# An app tag exists in both the index and detail
- self.assertContains(response, '<h3 id="flatpages-get_flatpages">get_flatpages</h3>')
- self.assertContains(response, '<li><a href="#flatpages-get_flatpages">get_flatpages</a></li>')
+ self.assertContains(response, '<h3 id="comments-get_comment_count">get_comment_count</h3>')
+ self.assertContains(response, '<li><a href="#comments-get_comment_count">get_comment_count</a></li>')
# The admin list tag group exists
self.assertContains(response, "<h2>admin_list</h2>", count=2)

0 comments on commit 6bc74f0

Please sign in to comment.