From 4cf82e5bcf87e0d5419d941c2ef7ec8855801319 Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Sat, 10 May 2014 18:06:25 +0200 Subject: Fixed #21685 -- Displayed app verbose name in admindocs model index --- tests/admin_docs/tests.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tests/admin_docs') diff --git a/tests/admin_docs/tests.py b/tests/admin_docs/tests.py index 6eecb6af62..993567bf37 100644 --- a/tests/admin_docs/tests.py +++ b/tests/admin_docs/tests.py @@ -81,7 +81,11 @@ class AdminDocViewTests(TestCase): def test_model_index(self): response = self.client.get(reverse('django-admindocs-models-index')) - self.assertContains(response, '

Auth

', html=True) + self.assertContains( + response, + '

Authentication and Authorization (django.contrib.auth)

', + html=True + ) def test_template_detail(self): response = self.client.get(reverse('django-admindocs-templates', -- cgit v1.3