summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJonathan Huot <jonathan.huot@thomsonreuters.com>2018-08-15 00:12:20 +0200
committerJonathan Huot <jonathan.huot@thomsonreuters.com>2018-08-15 00:12:20 +0200
commit3faf434e8d670bf2763bbdc5135cbd7e747194f8 (patch)
tree195ff95a183fd25cda357a85c01bcbf7cf62c05d /tests
parenta20120e780297af8482273c6534249913a6aaf5e (diff)
downloadoauthlib-3faf434e8d670bf2763bbdc5135cbd7e747194f8.tar.gz
Restore confirm = False test
Diffstat (limited to 'tests')
-rw-r--r--tests/oauth2/rfc6749/endpoints/test_error_responses.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/oauth2/rfc6749/endpoints/test_error_responses.py b/tests/oauth2/rfc6749/endpoints/test_error_responses.py
index 9f46f34..677b895 100644
--- a/tests/oauth2/rfc6749/endpoints/test_error_responses.py
+++ b/tests/oauth2/rfc6749/endpoints/test_error_responses.py
@@ -237,6 +237,8 @@ class ErrorResponseTest(TestCase):
def test_access_denied(self):
self.validator.authenticate_client.side_effect = self.set_client
+ self.validator.get_default_redirect_uri.return_value = 'https://i.b/cb'
+ self.validator.confirm_redirect_uri.return_value = False
token_uri = 'https://i.b/token'
# Authorization code grant
_, body, _ = self.web.create_token_response(token_uri,