From bc03f1064e10fa247a46d4e8a98ba9b26aa4790d Mon Sep 17 00:00:00 2001 From: antoliny0919 Date: Thu, 22 May 2025 15:56:51 +0900 Subject: Fixed #34041 -- Added aria-current attribute to admin breadcrumbs. Co-authored by: farita1699 --- tests/auth_tests/test_views.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'tests/auth_tests/test_views.py') diff --git a/tests/auth_tests/test_views.py b/tests/auth_tests/test_views.py index 23dc858ddd..a3863b6233 100644 --- a/tests/auth_tests/test_views.py +++ b/tests/auth_tests/test_views.py @@ -1548,7 +1548,9 @@ class ChangelistTests(MessagesTestMixin, AuthViewsTestCase): ) # Breadcrumb. self.assertContains( - response, f"{self.admin.username}\n› Change password" + response, + f'{self.admin.username}\n
  • ' + "Change password
  • ", ) # Usable password field. self.assertContains( @@ -1648,7 +1650,9 @@ class ChangelistTests(MessagesTestMixin, AuthViewsTestCase): self.assertContains(response, f"

    Set password: {test_user.username}

    ") # Breadcrumb. self.assertContains( - response, f"{test_user.username}\n› Set password" + response, + f'{test_user.username}\n
  • ' + "Set password
  • ", ) # Submit buttons self.assertContains(response, '