Author: kmtracey
Date: 2010-09-12 13:14:45 -0500 (Sun, 12 Sep 2010)
New Revision: 13764
Modified:
django/branches/releases/1.2.X/tests/regressiontests/admin_views/tests.py
Log:
[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.
Modified:
django/branches/releases/1.2.X/tests/regressiontests/admin_views/tests.py
===================================================================
--- django/branches/releases/1.2.X/tests/regressiontests/admin_views/tests.py
2010-09-12 08:01:38 UTC (rev 13763)
+++ django/branches/releases/1.2.X/tests/regressiontests/admin_views/tests.py
2010-09-12 18:14:45 UTC (rev 13764)
@@ -2210,8 +2210,8 @@
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)
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.