diff options
author | Ben Spaulding <benjamin.spaulding@lionbridge.com> | 2015-07-12 15:16:27 -0500 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2015-07-13 12:44:37 -0400 |
commit | 915ef79b08862680e82d6a772d6ead22735e9a2f (patch) | |
tree | cf31513467a384c02fbd934a05c89f1d978ab740 /tests/admin_docs | |
parent | 23529fb19594ffcc6ba6d716356b828157200288 (diff) | |
download | django-915ef79b08862680e82d6a772d6ead22735e9a2f.tar.gz |
Fixed #25115 -- Made admindocs view bookmarklet reverse the URL rather than hardcode it.
Diffstat (limited to 'tests/admin_docs')
-rw-r--r-- | tests/admin_docs/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/admin_docs/tests.py b/tests/admin_docs/tests.py index 51d03ebd77..b48d33301f 100644 --- a/tests/admin_docs/tests.py +++ b/tests/admin_docs/tests.py @@ -74,7 +74,7 @@ class AdminDocViewTests(TestDataMixin, AdminDocsTestCase): def test_bookmarklets(self): response = self.client.get(reverse('django-admindocs-bookmarklets')) - self.assertContains(response, 'http://testserver/admin/doc/views/') + self.assertContains(response, '/admindocs/views/') def test_templatetag_index(self): response = self.client.get(reverse('django-admindocs-tags')) |