From e67804668115fd388e7554c6a809bd409f70adfe Mon Sep 17 00:00:00 2001 From: sarahboyce Date: Sun, 12 Feb 2023 19:59:45 +0100 Subject: Fixed #34316 -- Fixed layout of admin password change forms and help texts. Regression in 96a598356a9ea8c2c05b22cadc12e256a3b295fd. --- tests/admin_views/tests.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'tests') diff --git a/tests/admin_views/tests.py b/tests/admin_views/tests.py index 6d17279d6f..5f7aafe430 100644 --- a/tests/admin_views/tests.py +++ b/tests/admin_views/tests.py @@ -6549,20 +6549,20 @@ class ReadonlyTest(AdminFieldExtractionMixin, TestCase): self.assertContains(response, '
Some help text for the title ' - "(with Unicode ŠĐĆŽćžšđ)
", + '
Some help text for the ' + "title (with Unicode ŠĐĆŽćžšđ)
", html=True, ) self.assertContains( response, - '
Some help text for the content ' - "(with Unicode ŠĐĆŽćžšđ)
", + '
Some help text for the ' + "content (with Unicode ŠĐĆŽćžšđ)
", html=True, ) self.assertContains( response, - '
Some help text for the date (with Unicode ŠĐĆŽćžšđ)' - "
", + '
Some help text for the date (with Unicode ŠĐĆŽćžšđ)' + "
", html=True, ) @@ -6744,7 +6744,7 @@ class ReadonlyTest(AdminFieldExtractionMixin, TestCase): ) self.assertContains( response, - '
Overridden help text for the date
', + '
Overridden help text for the date
', html=True, ) self.assertContains( -- cgit v1.3