diff options
author | Dariusz <github@smigiel.dev> | 2022-06-21 07:53:36 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-21 07:53:36 -0700 |
commit | f52f641d763e4958d108e875e0cd6fca50d110f2 (patch) | |
tree | 62b0c653973035c88d4044105fde43a25397ef53 /tests | |
parent | ed0cb63945c4a5940b185823809693b7f97989ad (diff) | |
parent | bdc486e2bc3a188027a4ebec3a3013e64023ce62 (diff) | |
download | oauthlib-f52f641d763e4958d108e875e0cd6fca50d110f2.tar.gz |
Merge branch 'oauthlib:master' into master
Diffstat (limited to 'tests')
-rw-r--r-- | tests/oauth1/rfc5849/test_signatures.py | 27 | ||||
-rw-r--r-- | tests/oauth2/rfc6749/endpoints/test_metadata.py | 3 |
2 files changed, 10 insertions, 20 deletions
diff --git a/tests/oauth1/rfc5849/test_signatures.py b/tests/oauth1/rfc5849/test_signatures.py index e737e68..f0e1809 100644 --- a/tests/oauth1/rfc5849/test_signatures.py +++ b/tests/oauth1/rfc5849/test_signatures.py @@ -1,26 +1,15 @@ # -*- coding: utf-8 -*- from oauthlib.oauth1.rfc5849.signature import ( - collect_parameters, - signature_base_string, - base_string_uri, - normalize_parameters, - sign_hmac_sha1_with_client, - sign_hmac_sha256_with_client, - sign_hmac_sha512_with_client, - sign_rsa_sha1_with_client, - sign_rsa_sha256_with_client, - sign_rsa_sha512_with_client, - sign_plaintext_with_client, - verify_hmac_sha1, - verify_hmac_sha256, - verify_hmac_sha512, - verify_rsa_sha1, - verify_rsa_sha256, - verify_rsa_sha512, - verify_plaintext + base_string_uri, collect_parameters, normalize_parameters, + sign_hmac_sha1_with_client, sign_hmac_sha256_with_client, + sign_hmac_sha512_with_client, sign_plaintext_with_client, + sign_rsa_sha1_with_client, sign_rsa_sha256_with_client, + sign_rsa_sha512_with_client, signature_base_string, verify_hmac_sha1, + verify_hmac_sha256, verify_hmac_sha512, verify_plaintext, verify_rsa_sha1, + verify_rsa_sha256, verify_rsa_sha512, ) -from tests.unittest import TestCase +from tests.unittest import TestCase # ################################################################ diff --git a/tests/oauth2/rfc6749/endpoints/test_metadata.py b/tests/oauth2/rfc6749/endpoints/test_metadata.py index 22cf4ba..1f5b912 100644 --- a/tests/oauth2/rfc6749/endpoints/test_metadata.py +++ b/tests/oauth2/rfc6749/endpoints/test_metadata.py @@ -1,7 +1,8 @@ # -*- coding: utf-8 -*- +import json + from oauthlib.oauth2 import MetadataEndpoint, Server, TokenEndpoint -import json from tests.unittest import TestCase |