There was an error while loading. Please reload this page.
1 parent af0a105 commit 5f83983Copy full SHA for 5f83983
1 file changed
tests/live/test_api_auth.py
@@ -1041,10 +1041,10 @@ def test_authenticate_succeeds(self):
1041
'type': 'basic'
1042
}
1043
resp = post(post_url, headers=headers, json=body)
1044
- next_jwt = resp.headers['stormpath-sso-redirect-location'].split('jwtResponse=')[1]
+ final_jwt = resp.headers['stormpath-sso-redirect-location'].split('jwtResponse=')[1]
1045
1046
authenticator = StormpathTokenGrantAuthenticator(self.app)
1047
- result = authenticator.authenticate(next_jwt)
+ result = authenticator.authenticate(final_jwt)
1048
1049
self.assertTrue(result.access_token)
1050
self.assertTrue(result.refresh_token)
0 commit comments