summaryrefslogtreecommitdiff
path: root/tests/openid/connect/core/endpoints
diff options
context:
space:
mode:
authorJonathan Huot <JonathanHuot@users.noreply.github.com>2020-04-22 16:11:47 +0200
committerGitHub <noreply@github.com>2020-04-22 16:11:47 +0200
commitaf5ac6d7da7aaad09ab5ffeb31a2972aaffe3e2f (patch)
treee7dc3844024d38021ba4edc4fb6dbb55a85d2e56 /tests/openid/connect/core/endpoints
parent75b9f4f7e4387e670a3fae925d5522ff3a01a746 (diff)
parent82544c2034987080ad6e11c3f1efe7378467c57b (diff)
downloadoauthlib-af5ac6d7da7aaad09ab5ffeb31a2972aaffe3e2f.tar.gz
Merge branch 'master' into doc-sponsor
Diffstat (limited to 'tests/openid/connect/core/endpoints')
-rw-r--r--tests/openid/connect/core/endpoints/test_claims_handling.py2
-rw-r--r--tests/openid/connect/core/endpoints/test_openid_connect_params_handling.py2
-rw-r--r--tests/openid/connect/core/endpoints/test_userinfo_endpoint.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/openid/connect/core/endpoints/test_claims_handling.py b/tests/openid/connect/core/endpoints/test_claims_handling.py
index 943210c..1fe86ef 100644
--- a/tests/openid/connect/core/endpoints/test_claims_handling.py
+++ b/tests/openid/connect/core/endpoints/test_claims_handling.py
@@ -6,7 +6,7 @@ The claims parameter is an optional query param for the Authorization Request en
request the claims should be transferred (via the oauthlib request) to be persisted
with the Access Token when it is created.
"""
-import mock
+from unittest import mock
from oauthlib.openid import RequestValidator
from oauthlib.openid.connect.core.endpoints.pre_configured import Server
diff --git a/tests/openid/connect/core/endpoints/test_openid_connect_params_handling.py b/tests/openid/connect/core/endpoints/test_openid_connect_params_handling.py
index 26ff46b..98482e2 100644
--- a/tests/openid/connect/core/endpoints/test_openid_connect_params_handling.py
+++ b/tests/openid/connect/core/endpoints/test_openid_connect_params_handling.py
@@ -1,4 +1,4 @@
-import mock
+from unittest import mock
from oauthlib.oauth2 import InvalidRequestError
from oauthlib.oauth2.rfc6749.endpoints.authorization import \
diff --git a/tests/openid/connect/core/endpoints/test_userinfo_endpoint.py b/tests/openid/connect/core/endpoints/test_userinfo_endpoint.py
index 9edc970..dd48bdd 100644
--- a/tests/openid/connect/core/endpoints/test_userinfo_endpoint.py
+++ b/tests/openid/connect/core/endpoints/test_userinfo_endpoint.py
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-import mock
+from unittest import mock
import json
from oauthlib.openid import RequestValidator