summaryrefslogtreecommitdiff
path: root/tests/admin_docs
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2019-06-27 09:39:47 -0700
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2019-06-28 16:46:18 +0200
commit42b9a23267f14be39b9b00958e18d5746783208e (patch)
treef19f6a2cd70025744ad9d668a15a0c0a5ed8aac3 /tests/admin_docs
parent2b03e8e9e8205ae3a3aa128764277e70b7c30803 (diff)
downloaddjango-42b9a23267f14be39b9b00958e18d5746783208e.tar.gz
Fixed #30400 -- Improved typography of user facing strings.
Thanks Claude Paroz for assistance with translations.
Diffstat (limited to 'tests/admin_docs')
-rw-r--r--tests/admin_docs/test_views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/admin_docs/test_views.py b/tests/admin_docs/test_views.py
index 03d38bb2fd..144517ab0a 100644
--- a/tests/admin_docs/test_views.py
+++ b/tests/admin_docs/test_views.py
@@ -105,7 +105,7 @@ class AdminDocViewTests(TestDataMixin, AdminDocsTestCase):
def test_template_detail(self):
response = self.client.get(reverse('django-admindocs-templates', args=['admin_doc/template_detail.html']))
- self.assertContains(response, '<h1>Template: "admin_doc/template_detail.html"</h1>', html=True)
+ self.assertContains(response, '<h1>Template: <q>admin_doc/template_detail.html</q></h1>', html=True)
def test_missing_docutils(self):
utils.docutils_is_available = False