def login(self, password='password'):
        response = self.client.post('/login/', {
            'username': 'testclient',
            'password': password
            }
        )
        self.assertEquals(response.status_code, 302)
        self.assert_(response['Location'].endswith(settings.LOGIN_REDIRECT_URL))
        self.assert_(self.client.session in SESSION_KEY)
dataset/ETHPy150Open CollabQ/CollabQ/vendor/django/contrib/auth/tests/views.py/LogoutTest.login/swapped operands of `in`