aboutsummaryrefslogtreecommitdiff
path: root/tests/test_jwt.py
diff options
context:
space:
mode:
authorPat Ferate <pferate+github@gmail.com>2016-07-08 13:31:15 -0700
committerPat Ferate <pferate+github@gmail.com>2016-07-11 08:13:53 -0700
commit6b6c56d3ee60c749f74f746300934e3ae18c56c1 (patch)
tree8f89b057b82a748530feededb879850989d29557 /tests/test_jwt.py
parent8eb3aa2f955dd4ad31aeb3cb1e43c783aaebb85a (diff)
downloadoauth2client-6b6c56d3ee60c749f74f746300934e3ae18c56c1.tar.gz
More general PEP8 cleanup
Diffstat (limited to 'tests/test_jwt.py')
-rw-r--r--tests/test_jwt.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/test_jwt.py b/tests/test_jwt.py
index f567f5d..00c8ef7 100644
--- a/tests/test_jwt.py
+++ b/tests/test_jwt.py
@@ -147,15 +147,14 @@ class CryptTests(unittest2.TestCase):
def test_verify_id_token_with_certs_uri_fails(self):
jwt = self._create_signed_jwt()
+ test_email = 'some_audience_address@testing.gserviceaccount.com'
http = HttpMockSequence([
({'status': '404'}, datafile('certs.json')),
])
with self.assertRaises(VerifyJwtTokenError):
- verify_id_token(jwt,
- 'some_audience_address@testing.gserviceaccount.com',
- http=http)
+ verify_id_token(jwt, test_email, http=http)
def test_verify_id_token_bad_tokens(self):
private_key = datafile('privatekey.' + self.format_)