Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 6bc74f06e284dd4be40833c4231449e6c5d23ed0 1 parent ceedef1
Karen Tracey kmtracey authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/regressiontests/admin_views/tests.py
4 tests/regressiontests/admin_views/tests.py
View
@@ -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)
Please sign in to comment.
Something went wrong with that request. Please try again.