def test_confirm_invalid(self):
        url, path = self._test_confirm_start()
        # Lets munge the token in the path, but keep the same length,
        # in case the URL conf will reject a different length
        path = path[:-5] + ("0"*4) + path[-1]

        response = self.client.get(path)
        self.assertEquals(response.status_code, 200)
        self.assert_(response.content in "The password reset link was invalid")
dataset/ETHPy150Open dcramer/django-compositepks/django/contrib/auth/tests/views.py/PasswordResetTest.test_confirm_invalid/swapped operands of `in`