summaryrefslogtreecommitdiff
path: root/tests/admin_views
diff options
context:
space:
mode:
Diffstat (limited to 'tests/admin_views')
-rw-r--r--tests/admin_views/test_nav_sidebar.py1
-rw-r--r--tests/admin_views/tests.py2
2 files changed, 1 insertions, 2 deletions
diff --git a/tests/admin_views/test_nav_sidebar.py b/tests/admin_views/test_nav_sidebar.py
index 1875a2f7a1..74fd648ab0 100644
--- a/tests/admin_views/test_nav_sidebar.py
+++ b/tests/admin_views/test_nav_sidebar.py
@@ -93,7 +93,6 @@ class AdminSidebarTests(TestCase):
)
# Does not include aria-current attribute.
self.assertContains(response, '<a href="%s">Users</a>' % url)
- self.assertNotContains(response, "aria-current")
@override_settings(DEBUG=True)
def test_included_app_list_template_context_fully_set(self):
diff --git a/tests/admin_views/tests.py b/tests/admin_views/tests.py
index ad37416cbf..868b616d76 100644
--- a/tests/admin_views/tests.py
+++ b/tests/admin_views/tests.py
@@ -2579,7 +2579,7 @@ class AdminViewPermissionsTest(TestCase):
# Add user may login and POST to add view, then redirect to admin root
self.client.force_login(self.adduser)
addpage = self.client.get(reverse("admin:admin_views_article_add"))
- change_list_link = '&rsaquo; <a href="%s">Articles</a>' % reverse(
+ change_list_link = '<a href="%s">Articles</a>' % reverse(
"admin:admin_views_article_changelist"
)
self.assertNotContains(