From 8d76443aba863b75ad3b1392ca7e1d59bad84dc4 Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Wed, 24 Apr 2019 04:30:34 -0700 Subject: Fixed #30399 -- Changed django.utils.html.escape()/urlize() to use html.escape()/unescape(). --- tests/admin_docs/test_views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/admin_docs') diff --git a/tests/admin_docs/test_views.py b/tests/admin_docs/test_views.py index bcadff7d8a..03d38bb2fd 100644 --- a/tests/admin_docs/test_views.py +++ b/tests/admin_docs/test_views.py @@ -199,7 +199,7 @@ class TestModelDetailView(TestDataMixin, AdminDocsTestCase): """ Methods with keyword arguments should have their arguments displayed. """ - self.assertContains(self.response, "suffix='ltd'") + self.assertContains(self.response, 'suffix='ltd'') def test_methods_with_multiple_arguments_display_arguments(self): """ -- cgit v1.3