From b7093860df7bcdc3b8fafa9e6b206137da66d89b Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Fri, 13 Mar 2020 06:26:06 -0700 Subject: [PATCH] Added novalidate HTML attribute to ModelAdmin.add_view() and change_view() tests. --- tests/admin_views/tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/admin_views/tests.py b/tests/admin_views/tests.py index 4b4b118987..833a0cf2c8 100644 --- a/tests/admin_views/tests.py +++ b/tests/admin_views/tests.py @@ -5920,7 +5920,7 @@ class AdminKeepChangeListFiltersTests(TestCase): # Check the form action. form_action = re.search( - '
', + '', response.content.decode() ) self.assertURLEqual(form_action.group(1), '?%s' % self.get_preserved_filters_querystring()) @@ -5972,7 +5972,7 @@ class AdminKeepChangeListFiltersTests(TestCase): # Check the form action. form_action = re.search( - '', + '', response.content.decode() ) self.assertURLEqual(form_action.group(1), '?%s' % self.get_preserved_filters_querystring())