summaryrefslogtreecommitdiff
path: root/tests/oauth2
diff options
context:
space:
mode:
authorHsiaoming Yang <sopheryoung@gmail.com>2015-07-06 11:35:39 +0800
committerHsiaoming Yang <sopheryoung@gmail.com>2015-07-06 11:35:39 +0800
commitdd26c4fcdeb8b66c34ad72c7a10638c967f82a2d (patch)
tree5ea7de21efef9af2fe8abf3761668a858a75b27a /tests/oauth2
parenteb4241a2090dc3b7df9de2b168e989670ce612b3 (diff)
parentdd86c4b4b05fc9574452056a1983172e66d5bf86 (diff)
downloadoauthlib-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.py2
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):