diff options
author | Hsiaoming Yang <sopheryoung@gmail.com> | 2015-07-06 11:35:39 +0800 |
---|---|---|
committer | Hsiaoming Yang <sopheryoung@gmail.com> | 2015-07-06 11:35:39 +0800 |
commit | dd26c4fcdeb8b66c34ad72c7a10638c967f82a2d (patch) | |
tree | 5ea7de21efef9af2fe8abf3761668a858a75b27a /tests/oauth2 | |
parent | eb4241a2090dc3b7df9de2b168e989670ce612b3 (diff) | |
parent | dd86c4b4b05fc9574452056a1983172e66d5bf86 (diff) | |
download | oauthlib-dd26c4fcdeb8b66c34ad72c7a10638c967f82a2d.tar.gz |
Merge pull request #300 from jbkkd/master
Revocation endpoint should return empty string, not Python 'None'
Diffstat (limited to 'tests/oauth2')
-rw-r--r-- | tests/oauth2/rfc6749/endpoints/test_revocation_endpoint.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/oauth2/rfc6749/endpoints/test_revocation_endpoint.py b/tests/oauth2/rfc6749/endpoints/test_revocation_endpoint.py index 12fc871..48c4158 100644 --- a/tests/oauth2/rfc6749/endpoints/test_revocation_endpoint.py +++ b/tests/oauth2/rfc6749/endpoints/test_revocation_endpoint.py @@ -30,7 +30,7 @@ class RevocationEndpointTest(TestCase): h, b, s = self.endpoint.create_revocation_response(self.uri, headers=self.headers, body=body) self.assertEqual(h, {}) - self.assertEqual(b, None) + self.assertEqual(b, '') self.assertEqual(s, 200) def test_revoke_token_without_client_authentication(self): |