diff options
author | Ivan Kanakarakis <ivan.kanak@gmail.com> | 2021-11-16 13:17:06 +0200 |
---|---|---|
committer | Ivan Kanakarakis <ivan.kanak@gmail.com> | 2021-11-16 14:50:55 +0200 |
commit | 68c0a8902e20b384a548f634d92312077340562d (patch) | |
tree | c1456b41355be1857f5dca3e5891d0ad9a0daa18 /tests | |
parent | 5b07161d78ac34a285a4844989f954bc49879462 (diff) | |
download | pysaml2-68c0a8902e20b384a548f634d92312077340562d.tar.gz |
Small refactor
Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_51_client.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/test_51_client.py b/tests/test_51_client.py index 7e46ccaa..095d80ab 100644 --- a/tests/test_51_client.py +++ b/tests/test_51_client.py @@ -11,7 +11,8 @@ from pytest import raises from saml2.argtree import add_path from saml2.cert import OpenSSLWrapper from saml2.xmldsig import sig_default -from saml2.xmldsig import SIG_RSA_SHA256, SIG_RSA_SHA1 +from saml2.xmldsig import SIG_RSA_SHA256 +from saml2.xmldsig import SIG_RSA_SHA1 from saml2 import BINDING_HTTP_POST from saml2 import BINDING_HTTP_REDIRECT from saml2 import config @@ -29,8 +30,8 @@ from saml2.extension.requested_attributes import RequestedAttribute from saml2.authn_context import INTERNETPROTOCOLPASSWORD from saml2.client import Saml2Client from saml2.pack import parse_soap_enveloped_saml -from saml2.response import LogoutResponse, StatusInvalidNameidPolicy, StatusError, \ - IncorrectlySigned +from saml2.response import LogoutResponse, StatusInvalidNameidPolicy, StatusError +from saml2.response import IncorrectlySigned from saml2.saml import NAMEID_FORMAT_PERSISTENT, EncryptedAssertion, Advice from saml2.saml import NAMEID_FORMAT_TRANSIENT from saml2.saml import NameID |