Remove print statements
This commit is contained in:
parent
ed3f9988aa
commit
a640358182
1 changed files with 0 additions and 2 deletions
|
@ -211,7 +211,6 @@ class TokenTestCase(TestCase):
|
||||||
)
|
)
|
||||||
|
|
||||||
response_dict = json.loads(response.content.decode('utf-8'))
|
response_dict = json.loads(response.content.decode('utf-8'))
|
||||||
print(response_dict)
|
|
||||||
|
|
||||||
self.assertEqual(403, response.status_code)
|
self.assertEqual(403, response.status_code)
|
||||||
self.assertEqual('access_denied', response_dict['error'])
|
self.assertEqual('access_denied', response_dict['error'])
|
||||||
|
@ -246,7 +245,6 @@ class TokenTestCase(TestCase):
|
||||||
|
|
||||||
response_dict = json.loads(response.content.decode('utf-8'))
|
response_dict = json.loads(response.content.decode('utf-8'))
|
||||||
id_token = JWS().verify_compact(response_dict['id_token'].encode('utf-8'), self._get_keys())
|
id_token = JWS().verify_compact(response_dict['id_token'].encode('utf-8'), self._get_keys())
|
||||||
print(id_token)
|
|
||||||
|
|
||||||
self.assertEqual(response_dict['access_token'], 'fake_token')
|
self.assertEqual(response_dict['access_token'], 'fake_token')
|
||||||
self.assertEqual(response_dict['refresh_token'], 'fake_token')
|
self.assertEqual(response_dict['refresh_token'], 'fake_token')
|
||||||
|
|
Loading…
Reference in a new issue