mirror of
https://github.com/django/django.git
synced 2025-07-05 18:29:11 +00:00
[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
This commit is contained in:
parent
ceedef1447
commit
6bc74f06e2
@ -2210,8 +2210,8 @@ try:
|
|||||||
self.assertContains(response, '<li><a href="#built_in-autoescape">autoescape</a></li>')
|
self.assertContains(response, '<li><a href="#built_in-autoescape">autoescape</a></li>')
|
||||||
|
|
||||||
# An app tag exists in both the index and detail
|
# An app tag exists in both the index and detail
|
||||||
self.assertContains(response, '<h3 id="flatpages-get_flatpages">get_flatpages</h3>')
|
self.assertContains(response, '<h3 id="comments-get_comment_count">get_comment_count</h3>')
|
||||||
self.assertContains(response, '<li><a href="#flatpages-get_flatpages">get_flatpages</a></li>')
|
self.assertContains(response, '<li><a href="#comments-get_comment_count">get_comment_count</a></li>')
|
||||||
|
|
||||||
# The admin list tag group exists
|
# The admin list tag group exists
|
||||||
self.assertContains(response, "<h2>admin_list</h2>", count=2)
|
self.assertContains(response, "<h2>admin_list</h2>", count=2)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user