diff options
Diffstat (limited to 'tests/admin_views')
| -rw-r--r-- | tests/admin_views/tests.py | 4 |
1 files 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( - '<form action="(.*?)" method="post" id="user_form".*?>', + '<form action="(.*?)" method="post" id="user_form" novalidate>', 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( - '<form action="(.*?)" method="post" id="user_form".*?>', + '<form action="(.*?)" method="post" id="user_form" novalidate>', response.content.decode() ) self.assertURLEqual(form_action.group(1), '?%s' % self.get_preserved_filters_querystring()) |
