summaryrefslogtreecommitdiff
path: root/tests/openid/connect/core/grant_types/test_dispatchers.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/openid/connect/core/grant_types/test_dispatchers.py')
-rw-r--r--tests/openid/connect/core/grant_types/test_dispatchers.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/openid/connect/core/grant_types/test_dispatchers.py b/tests/openid/connect/core/grant_types/test_dispatchers.py
index 9e45d65..2fc4ae6 100644
--- a/tests/openid/connect/core/grant_types/test_dispatchers.py
+++ b/tests/openid/connect/core/grant_types/test_dispatchers.py
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
-from __future__ import absolute_import, unicode_literals
import mock
from oauthlib.common import Request
@@ -72,7 +71,7 @@ class DispatcherTest(TestCase):
class AuthTokenGrantDispatcherOpenIdTest(DispatcherTest):
def setUp(self):
- super(AuthTokenGrantDispatcherOpenIdTest, self).setUp()
+ super().setUp()
self.request_validator.get_authorization_code_scopes.return_value = ('hello', 'openid')
self.dispatcher = AuthorizationTokenGrantDispatcher(
self.request_validator,
@@ -89,7 +88,7 @@ class AuthTokenGrantDispatcherOpenIdTest(DispatcherTest):
class AuthTokenGrantDispatcherOpenIdWithoutCodeTest(DispatcherTest):
def setUp(self):
- super(AuthTokenGrantDispatcherOpenIdWithoutCodeTest, self).setUp()
+ super().setUp()
self.request.decoded_body = (
("client_id", "me"),
("code", ""),
@@ -111,7 +110,7 @@ class AuthTokenGrantDispatcherOpenIdWithoutCodeTest(DispatcherTest):
class AuthTokenGrantDispatcherOAuthTest(DispatcherTest):
def setUp(self):
- super(AuthTokenGrantDispatcherOAuthTest, self).setUp()
+ super().setUp()
self.request_validator.get_authorization_code_scopes.return_value = ('hello', 'world')
self.dispatcher = AuthorizationTokenGrantDispatcher(
self.request_validator,