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:09:07 +0200 |
| commit | 4cf82e5bcf87e0d5419d941c2ef7ec8855801319 (patch) | |
| tree | ba622fb4b465d736bde7acd25512a9b8a5b4e0fe /tests/admin_docs/tests.py | |
| parent | edecbb551bf8e8d0915c6c563ce9f880c59f8d95 (diff) | |
Fixed #21685 -- Displayed app verbose name in admindocs model index
Diffstat (limited to 'tests/admin_docs/tests.py')
| -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 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, '<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', |
