summaryrefslogtreecommitdiff
path: root/tests/oauth2/rfc6749/endpoints/test_client_authentication.py
diff options
context:
space:
mode:
authorJonathan Huot <JonathanHuot@users.noreply.github.com>2018-12-16 18:58:18 +0100
committerGitHub <noreply@github.com>2018-12-16 18:58:18 +0100
commit2ae71acab9c78598aef10ba584a7284ffa07b48f (patch)
tree2a2ebf514137c92e124d4c3718de09338d13d848 /tests/oauth2/rfc6749/endpoints/test_client_authentication.py
parent6f3aa6c3a89ac9a61831bd67f061725f5b5661fb (diff)
parent8de1e52fabdd9c3738a012bb88e2234d1bd06255 (diff)
downloadoauthlib-bandit.tar.gz
Merge branch 'master' into banditbandit
Diffstat (limited to 'tests/oauth2/rfc6749/endpoints/test_client_authentication.py')
-rw-r--r--tests/oauth2/rfc6749/endpoints/test_client_authentication.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/oauth2/rfc6749/endpoints/test_client_authentication.py b/tests/oauth2/rfc6749/endpoints/test_client_authentication.py
index e9a0673..48c5f5a 100644
--- a/tests/oauth2/rfc6749/endpoints/test_client_authentication.py
+++ b/tests/oauth2/rfc6749/endpoints/test_client_authentication.py
@@ -32,6 +32,8 @@ class ClientAuthenticationTest(TestCase):
def setUp(self):
self.validator = mock.MagicMock(spec=RequestValidator)
+ self.validator.is_pkce_required.return_value = False
+ self.validator.get_code_challenge.return_value = None
self.validator.get_default_redirect_uri.return_value = 'http://i.b./path'
self.web = WebApplicationServer(self.validator,
token_generator=self.inspect_client)