summaryrefslogtreecommitdiff
path: root/src/saml2/soap.py
diff options
context:
space:
mode:
authorRoland Hedberg <roland.hedberg@adm.umu.se>2013-01-18 14:59:00 +0100
committerRoland Hedberg <roland.hedberg@adm.umu.se>2013-01-18 14:59:00 +0100
commit13f327c0bc12fa22c7eb6ccbac608cc6baf4ba26 (patch)
tree5442524257c6d17095d9b3cd8b03132864958c5f /src/saml2/soap.py
parent21880631d9dc6ebdd22ca1d4a2c2c187e15b848b (diff)
downloadpysaml2-13f327c0bc12fa22c7eb6ccbac608cc6baf4ba26.tar.gz
Fixed artifact handling
Diffstat (limited to 'src/saml2/soap.py')
-rw-r--r--src/saml2/soap.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/saml2/soap.py b/src/saml2/soap.py
index 6dddd57b..6c87a818 100644
--- a/src/saml2/soap.py
+++ b/src/saml2/soap.py
@@ -125,6 +125,7 @@ def parse_soap_enveloped_saml_thingy(text, expected_tags):
"""
envelope = ElementTree.fromstring(text)
+ # Make sure it's a SOAP message
assert envelope.tag == '{%s}Envelope' % soapenv.NAMESPACE
assert len(envelope) >= 1