def METHOD_NAME(self):
    """A request with not twice the same password should return a 400."""
    response = self.client.post(
        "/account/api/password/reset/confirm/",
        content_type="application/json",
        data=json.dumps(
            {
                "uid": urlsafe_base64_encode(force_bytes(self.user.pk)),
                "token": default_token_generator.make_token(self.user),
                "new_password1": "some complex pass 1",
                "new_password2": "some complex pass 2",
            }
        ),
    )
    self.assertEqual(response.status_code, 400)  # Bad request
    self.assertDictEqual(
        response.json(),
        {"new_password2": ["The two password fields didn’t match."]},
    )