def test_oauth2_redirect(self):
        response = self.fetch('/oauth2/client/login', follow_redirects=False)
        self.assertEqual(response.code, 302)
        self.assertTrue('/oauth2/server/authorize?' in response.headers['Location'])
dataset/ETHPy150Open tornadoweb/tornado/tornado/test/auth_test.py/AuthTest.test_oauth2_redirect/original