def test_password_change_fails_with_invalid_old_password(self):
        self.login()
        response = self.client.post('/password_change/', {
            'old_password': 'donuts',
            'new_password1': 'password1',
            'new_password2': 'password1',
            }
        )
        self.assertEquals(response.status_code, 200)
        self.assert_(response.content in "Your old password was entered incorrectly. Please enter it again.")
dataset/ETHPy150Open dcramer/django-compositepks/django/contrib/auth/tests/views.py/ChangePasswordTest.test_password_change_fails_with_invalid_old_password/swapped operands of `in`