@@ -217,7 +217,7 @@ def test_credentials_good(self):
217217 'some_account@example.com' ,
218218 private_key ,
219219 scope = 'read+write' ,
220- prn = 'joe@example.org' )
220+ sub = 'joe@example.org' )
221221 http = HttpMockSequence ([
222222 ({'status' : '200' }, '{"access_token":"1/3w","expires_in":3600}' ),
223223 ({'status' : '200' }, 'echo_request_headers' ),
@@ -232,7 +232,7 @@ def test_credentials_to_from_json(self):
232232 'some_account@example.com' ,
233233 private_key ,
234234 scope = 'read+write' ,
235- prn = 'joe@example.org' )
235+ sub = 'joe@example.org' )
236236 json = credentials .to_json ()
237237 restored = Credentials .new_from_json (json )
238238 self .assertEqual (credentials .private_key , restored .private_key )
@@ -257,7 +257,7 @@ def test_credentials_refresh_without_storage(self):
257257 'some_account@example.com' ,
258258 private_key ,
259259 scope = 'read+write' ,
260- prn = 'joe@example.org' )
260+ sub = 'joe@example.org' )
261261
262262 content = self ._credentials_refresh (credentials )
263263
@@ -269,7 +269,7 @@ def test_credentials_refresh_with_storage(self):
269269 'some_account@example.com' ,
270270 private_key ,
271271 scope = 'read+write' ,
272- prn = 'joe@example.org' )
272+ sub = 'joe@example.org' )
273273
274274 (filehandle , filename ) = tempfile .mkstemp ()
275275 os .close (filehandle )
@@ -305,7 +305,7 @@ def test_for_failure(self):
305305 'some_account@example.com' ,
306306 private_key ,
307307 scope = 'read+write' ,
308- prn = 'joe@example.org' )
308+ sub = 'joe@example.org' )
309309 try :
310310 credentials ._generate_assertion ()
311311 self .fail ()
0 commit comments