summaryrefslogtreecommitdiff
path: root/tests/test_03_saml2.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_03_saml2.py')
-rw-r--r--tests/test_03_saml2.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/test_03_saml2.py b/tests/test_03_saml2.py
index 9fef73c5..20838792 100644
--- a/tests/test_03_saml2.py
+++ b/tests/test_03_saml2.py
@@ -9,7 +9,6 @@ from saml2 import create_class_from_xml_string
from saml2 import make_vals
from saml2 import md
from saml2.saml import Attribute
-from saml2.saml import AuthnContextClassRef
from saml2.saml import Issuer
from saml2.saml import NameID
from saml2.saml import SubjectConfirmation
@@ -18,12 +17,12 @@ from saml2.saml import SubjectLocality
try:
- from xml.etree import ElementTree as ElementTree
+ pass
except ImportError:
try:
- import cElementTree as ElementTree
+ pass
except ImportError:
- from elementtree import ElementTree
+ pass
from defusedxml.common import EntitiesForbidden