diff options
| author | Karen Tracey <kmtracey@gmail.com> | 2010-09-12 18:14:45 +0000 |
|---|---|---|
| committer | Karen Tracey <kmtracey@gmail.com> | 2010-09-12 18:14:45 +0000 |
| commit | 6bc74f06e284dd4be40833c4231449e6c5d23ed0 (patch) | |
| tree | 5c172aafe66673e8b32a47f3e8f9639383d939d0 | |
| parent | ceedef1447a161cf551542084813ab5bb56e8e01 (diff) | |
[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
| -rw-r--r-- | tests/regressiontests/admin_views/tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/regressiontests/admin_views/tests.py b/tests/regressiontests/admin_views/tests.py index 374c2aa603..6a4d3975b5 100644 --- a/tests/regressiontests/admin_views/tests.py +++ b/tests/regressiontests/admin_views/tests.py @@ -2210,8 +2210,8 @@ try: 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) |
