diff options
| author | Claude Paroz <claude@2xlibre.net> | 2014-05-10 18:06:25 +0200 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2014-05-10 18:10:05 +0200 |
| commit | 9d0ebceb324ebb13b6d859153f95b2ef0c7c326b (patch) | |
| tree | 67948ab1dd7c5c0ac3c3ff32f02cc7eb9af60ec5 /tests/admin_docs | |
| parent | e9d0ef19bc87aafd71d513cd927db2655267809b (diff) | |
[1.7.x] Fixed #21685 -- Displayed app verbose name in admindocs model index
Backport of 4cf82e5bcf from master.
Diffstat (limited to 'tests/admin_docs')
| -rw-r--r-- | tests/admin_docs/tests.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/admin_docs/tests.py b/tests/admin_docs/tests.py index 0f73e8dede..93e49e0eb5 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, '<h2 id="app-auth">Auth</h2>', html=True) + self.assertContains( + response, + '<h2 id="app-auth">Authentication and Authorization (django.contrib.auth)</h2>', + html=True + ) def test_template_detail(self): response = self.client.get(reverse('django-admindocs-templates', |
