summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/admin_views/tests.py14
1 files changed, 7 insertions, 7 deletions
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, '<div class="help"', 3)
self.assertContains(
response,
- '<div class="help" id="id_title_helptext">Some help text for the title '
- "(with Unicode ŠĐĆŽćžšđ)</div>",
+ '<div class="help" id="id_title_helptext"><div>Some help text for the '
+ "title (with Unicode ŠĐĆŽćžšđ)</div></div>",
html=True,
)
self.assertContains(
response,
- '<div class="help" id="id_content_helptext">Some help text for the content '
- "(with Unicode ŠĐĆŽćžšđ)</div>",
+ '<div class="help" id="id_content_helptext"><div>Some help text for the '
+ "content (with Unicode ŠĐĆŽćžšđ)</div></div>",
html=True,
)
self.assertContains(
response,
- '<div class="help">Some help text for the date (with Unicode ŠĐĆŽćžšđ)'
- "</div>",
+ '<div class="help"><div>Some help text for the date (with Unicode ŠĐĆŽćžšđ)'
+ "</div></div>",
html=True,
)
@@ -6744,7 +6744,7 @@ class ReadonlyTest(AdminFieldExtractionMixin, TestCase):
)
self.assertContains(
response,
- '<div class="help">Overridden help text for the date</div>',
+ '<div class="help"><div>Overridden help text for the date</div></div>',
html=True,
)
self.assertContains(