Fixed field name in admin_views.tests.UserAdminTest.test_password_mismatch() assertion.

This commit is contained in:
Baptiste Mispelon 2022-02-14 11:27:26 +01:00 committed by Mariusz Felisiak
parent 7986028e3f
commit 1f749d6f12
1 changed files with 1 additions and 1 deletions

View File

@ -6689,7 +6689,7 @@ class UserAdminTest(TestCase):
},
)
self.assertEqual(response.status_code, 200)
self.assertFormError(response, "adminform", "password", [])
self.assertFormError(response, "adminform", "password1", [])
self.assertFormError(
response,
"adminform",