mirror of
https://github.com/django/django.git
synced 2025-11-22 04:08:50 +00:00
Fixed #35115 -- Made admin's footer render in <footer> tag.
This commit is contained in:
parent
0450c9bdf1
commit
e412d85b46
5 changed files with 13 additions and 11 deletions
|
|
@ -1605,6 +1605,13 @@ class AdminViewBasicTest(AdminViewBasicTestCase):
|
|||
'<main id="content-start" class="content" tabindex="-1">',
|
||||
)
|
||||
|
||||
def test_footer(self):
|
||||
response = self.client.get(reverse("admin:index"))
|
||||
self.assertContains(response, '<footer id="footer">')
|
||||
self.client.logout()
|
||||
response = self.client.get(reverse("admin:login"))
|
||||
self.assertContains(response, '<footer id="footer">')
|
||||
|
||||
def test_aria_describedby_for_add_and_change_links(self):
|
||||
response = self.client.get(reverse("admin:index"))
|
||||
tests = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue