diff options
| author | Baptiste Mispelon <bmispelon@gmail.com> | 2022-02-14 11:27:26 +0100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2022-02-14 11:29:45 +0100 |
| commit | 1f749d6f121fc227fda646eb99ffb259f450b342 (patch) | |
| tree | 5d65fc31a71f313026274564d04c7732208f7889 | |
| parent | 7986028e3fbc9f84fca5a25a03cecfbc85ca5ce7 (diff) | |
Fixed field name in admin_views.tests.UserAdminTest.test_password_mismatch() assertion.
| -rw-r--r-- | tests/admin_views/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/admin_views/tests.py b/tests/admin_views/tests.py index 7df96fa042..6074ac21e3 100644 --- a/tests/admin_views/tests.py +++ b/tests/admin_views/tests.py @@ -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", |
