def test_confirm_different_passwords(self):
        url, path = self._test_confirm_start()
        response = self.client.post(path, {'new_password1': 'anewpassword',
                                           'new_password2':' x'})
        self.assertEquals(response.status_code, 200)
        self.assert_("The two password fields didn&#39;t match" in response.content)
dataset/ETHPy150Open dcramer/django-compositepks/django/contrib/auth/tests/views.py/PasswordResetTest.test_confirm_different_passwords/original