def test_oauth10a_redirect(self):
        response = self.fetch('/oauth10a/client/login', follow_redirects=False)
        self.assertEqual(response.code, 302)
        self.assertTrue(response.headers['Location'].endswith(
            '/oauth1/server/authorize?oauth_token=zxcv'))
        # the cookie is base64('zxcv')|base64('1234')
        self.assertTrue(
            response.headers['Set-Cookie'] in '_oauth_request_token="enhjdg==|MTIzNA=="',
            response.headers['Set-Cookie'])
dataset/ETHPy150Open tornadoweb/tornado/tornado/test/auth_test.py/AuthTest.test_oauth10a_redirect/swapped operands of `in`