1
0
mirror of https://github.com/django/django.git synced 2025-10-24 14:16:09 +00:00

Refs #31617 -- Added an id for helptext in admin forms.

This commit is contained in:
David Smith
2022-03-30 09:10:24 +01:00
committed by Carlton Gibson
parent 50e1e7ef8e
commit 6991880109
7 changed files with 76 additions and 19 deletions

View File

@@ -263,9 +263,7 @@ class TestInline(TestDataMixin, TestCase):
stacked and tabular layouts.
"""
response = self.client.get(reverse("admin:admin_inlines_holder4_add"))
self.assertContains(
response, '<div class="help">Awesome stacked help text is awesome.</div>', 4
)
self.assertContains(response, "Awesome stacked help text is awesome.", 4)
self.assertContains(
response,
'<img src="/static/admin/img/icon-unknown.svg" '