summaryrefslogtreecommitdiff
path: root/tests/test_40_sigver.py
diff options
context:
space:
mode:
authorRoland Hedberg <roland.hedberg@adm.umu.se>2015-10-04 10:15:13 -0400
committerRoland Hedberg <roland.hedberg@adm.umu.se>2015-10-04 10:15:13 -0400
commita12cc2a979f5203e4c136684aa35741f4a73d1ce (patch)
treec55741de298f26c40057f6871633749281b85cad /tests/test_40_sigver.py
parentdfad000305c3e2897806301d2fd24ff8c049380b (diff)
downloadpysaml2-a12cc2a979f5203e4c136684aa35741f4a73d1ce.tar.gz
Fixed various errors.
Diffstat (limited to 'tests/test_40_sigver.py')
-rw-r--r--tests/test_40_sigver.py19
1 files changed, 11 insertions, 8 deletions
diff --git a/tests/test_40_sigver.py b/tests/test_40_sigver.py
index 5950c11e..00e8479b 100644
--- a/tests/test_40_sigver.py
+++ b/tests/test_40_sigver.py
@@ -1,17 +1,20 @@
#!/usr/bin/env python
import base64
-from saml2.sigver import pre_encryption_part, make_temp, XmlsecError, \
- SigverError
-from saml2.mdstore import MetadataStore
-from saml2.saml import assertion_from_string, EncryptedAssertion
-from saml2.samlp import response_from_string
-
-from saml2 import sigver, extension_elements_to_elements
+from saml2 import sigver
+from saml2 import extension_elements_to_elements
from saml2 import class_name
from saml2 import time_util
from saml2 import saml, samlp
from saml2 import config
+from saml2.sigver import pre_encryption_part
+from saml2.sigver import make_temp
+from saml2.sigver import XmlsecError
+from saml2.sigver import SigverError
+from saml2.mdstore import MetadataStore
+from saml2.saml import assertion_from_string
+from saml2.saml import EncryptedAssertion
+from saml2.samlp import response_from_string
from saml2.s_utils import factory, do_attribute_statement
from py.test import raises
@@ -510,6 +513,6 @@ def test_xmlsec_err():
if __name__ == "__main__":
t = TestSecurity()
t.setup_class()
- t.test_verify_1()
+ t.test_sign_assertion()
#test_xmlsec_err()