def fail_login(self, password='password'):
        response = self.client.post('/login/', {
            'username': 'testclient',
            'password': password
            }
        )
        self.assertEquals(response.status_code, 200)
        self.assert_("Please enter a correct username and password. Note that both fields are case-sensitive." in response.content)
dataset/ETHPy150Open dcramer/django-compositepks/django/contrib/auth/tests/views.py/ChangePasswordTest.fail_login/original