summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Huot <jonathan.huot@thomsonreuters.com>2018-11-20 10:29:16 +0100
committerJonathan Huot <jonathan.huot@thomsonreuters.com>2018-11-20 10:29:16 +0100
commit10acc015b7f9a5e166fa3a9afeed8c1b531fa026 (patch)
tree083d153043c6f151653fafd258a36b99f26459fd
parent2a2e48a67105d99c8faad804650cf7a5c47a4ec4 (diff)
downloadoauthlib-10acc015b7f9a5e166fa3a9afeed8c1b531fa026.tar.gz
Fix unit tests for new Dispatch attributes names
-rw-r--r--tests/openid/connect/core/grant_types/test_dispatchers.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/openid/connect/core/grant_types/test_dispatchers.py b/tests/openid/connect/core/grant_types/test_dispatchers.py
index e7dce45..9e45d65 100644
--- a/tests/openid/connect/core/grant_types/test_dispatchers.py
+++ b/tests/openid/connect/core/grant_types/test_dispatchers.py
@@ -28,8 +28,8 @@ class ImplicitTokenGrantDispatcherTest(TestCase):
openid_connect_implicit = ImplicitGrant(request_validator)
self.dispatcher = ImplicitTokenGrantDispatcher(
- default_implicit_grant=implicit_grant,
- oidc_implicit_grant=openid_connect_implicit
+ default_grant=implicit_grant,
+ oidc_grant=openid_connect_implicit
)
def test_create_authorization_response_openid(self):
@@ -76,8 +76,8 @@ class AuthTokenGrantDispatcherOpenIdTest(DispatcherTest):
self.request_validator.get_authorization_code_scopes.return_value = ('hello', 'openid')
self.dispatcher = AuthorizationTokenGrantDispatcher(
self.request_validator,
- default_token_grant=self.auth_grant,
- oidc_token_grant=self.openid_connect_auth
+ default_grant=self.auth_grant,
+ oidc_grant=self.openid_connect_auth
)
def test_create_token_response_openid(self):
@@ -98,8 +98,8 @@ class AuthTokenGrantDispatcherOpenIdWithoutCodeTest(DispatcherTest):
self.request_validator.get_authorization_code_scopes.return_value = ('hello', 'openid')
self.dispatcher = AuthorizationTokenGrantDispatcher(
self.request_validator,
- default_token_grant=self.auth_grant,
- oidc_token_grant=self.openid_connect_auth
+ default_grant=self.auth_grant,
+ oidc_grant=self.openid_connect_auth
)
def test_create_token_response_openid_without_code(self):
@@ -115,8 +115,8 @@ class AuthTokenGrantDispatcherOAuthTest(DispatcherTest):
self.request_validator.get_authorization_code_scopes.return_value = ('hello', 'world')
self.dispatcher = AuthorizationTokenGrantDispatcher(
self.request_validator,
- default_token_grant=self.auth_grant,
- oidc_token_grant=self.openid_connect_auth
+ default_grant=self.auth_grant,
+ oidc_grant=self.openid_connect_auth
)
def test_create_token_response_oauth(self):