From e48d95189d8f8a7dcaff103c01de053536d47c60 Mon Sep 17 00:00:00 2001 From: Craig Citro Date: Thu, 22 May 2014 11:05:52 -0700 Subject: [PATCH] Fix a test with a duplicate name. Two tests in `test_oauth2client.py` had the same name, meaning one wasn't getting run. Fixed the name of the second (which now reflects that the test does indeed test a successful exchange). --- tests/test_oauth2client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_oauth2client.py b/tests/test_oauth2client.py index 65ad189..ab44e2a 100644 --- a/tests/test_oauth2client.py +++ b/tests/test_oauth2client.py @@ -526,7 +526,7 @@ class OAuth2WebServerFlowTest(unittest.TestCase): self.assertRaises(VerifyJwtTokenError, self.flow.step2_exchange, 'some random code', http=http) - def test_exchange_id_token_fail(self): + def test_exchange_id_token(self): body = {'foo': 'bar'} payload = base64.urlsafe_b64encode(simplejson.dumps(body)).strip('=') jwt = (base64.urlsafe_b64encode('stuff')+ '.' + payload + '.' +