From 915ef79b08862680e82d6a772d6ead22735e9a2f Mon Sep 17 00:00:00 2001 From: Ben Spaulding Date: Sun, 12 Jul 2015 15:16:27 -0500 Subject: Fixed #25115 -- Made admindocs view bookmarklet reverse the URL rather than hardcode it. --- tests/admin_docs/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/admin_docs') 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')) -- cgit v1.3