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.py12
1 files changed, 1 insertions, 11 deletions
diff --git a/tests/test_03_saml2.py b/tests/test_03_saml2.py
index 20838792..b96afd9c 100644
--- a/tests/test_03_saml2.py
+++ b/tests/test_03_saml2.py
@@ -1,5 +1,6 @@
#!/usr/bin/env python
+from defusedxml.common import EntitiesForbidden
from pytest import raises
import saml2_data
@@ -16,17 +17,6 @@ from saml2.saml import SubjectConfirmationData
from saml2.saml import SubjectLocality
-try:
- pass
-except ImportError:
- try:
- pass
- except ImportError:
- pass
-
-from defusedxml.common import EntitiesForbidden
-
-
ITEMS = {
NameID: [
"""<?xml version="1.0" encoding="utf-8"?>