diff options
author | Anton Ruhlov <anton@paxful.com> | 2020-04-10 15:01:28 +0300 |
---|---|---|
committer | Anton Ruhlov <anton@paxful.com> | 2020-04-10 15:01:28 +0300 |
commit | a1057f9a82dd77e46aebaa217816af2c5759bab3 (patch) | |
tree | d14a0079d53f60b724a1e7ac743a7f9a45f07080 /tests/oauth2/rfc6749/test_server.py | |
parent | aee9bffc796f279c4fcec7cbce2c8c9940b920a6 (diff) | |
download | oauthlib-a1057f9a82dd77e46aebaa217816af2c5759bab3.tar.gz |
Sorted tests import per isort 4.3.21
Diffstat (limited to 'tests/oauth2/rfc6749/test_server.py')
-rw-r--r-- | tests/oauth2/rfc6749/test_server.py | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/tests/oauth2/rfc6749/test_server.py b/tests/oauth2/rfc6749/test_server.py index e6ad5cd..94af37e 100644 --- a/tests/oauth2/rfc6749/test_server.py +++ b/tests/oauth2/rfc6749/test_server.py @@ -1,20 +1,21 @@ # -*- coding: utf-8 -*- import json - from unittest import mock from oauthlib import common from oauthlib.oauth2.rfc6749 import errors, tokens from oauthlib.oauth2.rfc6749.endpoints import Server -from oauthlib.oauth2.rfc6749.endpoints.authorization import AuthorizationEndpoint +from oauthlib.oauth2.rfc6749.endpoints.authorization import ( + AuthorizationEndpoint, +) from oauthlib.oauth2.rfc6749.endpoints.resource import ResourceEndpoint from oauthlib.oauth2.rfc6749.endpoints.token import TokenEndpoint -from oauthlib.oauth2.rfc6749.grant_types import (AuthorizationCodeGrant, - ClientCredentialsGrant, - ImplicitGrant, - ResourceOwnerPasswordCredentialsGrant) +from oauthlib.oauth2.rfc6749.grant_types import ( + AuthorizationCodeGrant, ClientCredentialsGrant, ImplicitGrant, + ResourceOwnerPasswordCredentialsGrant, +) -from ...unittest import TestCase +from tests.unittest import TestCase class AuthorizationEndpointTest(TestCase): |