From c81a0ecf9667b06655726d1b0f0b692e69686fc0 Mon Sep 17 00:00:00 2001 From: Fabian Braun Date: Tue, 20 Aug 2024 10:57:18 +0200 Subject: [PATCH] Update test_admin.py for Django 5.1+ --- tests/test_admin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_admin.py b/tests/test_admin.py index 3125990..6707b5f 100644 --- a/tests/test_admin.py +++ b/tests/test_admin.py @@ -554,9 +554,9 @@ def test_aliases_admin_entry_is_hidden(self): response = self.client.get(index_url) unexpected_content = ( - '' "Alias contents" + '' "Alias contents" ) - expected_content = 'Aliases' + expected_content = 'Aliases' self.assertEqual(response.status_code, 200) self.assertContains(response, expected_content)