summaryrefslogtreecommitdiffstats
path: root/bindings
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2013-03-20 21:14:25 +0100
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2013-03-20 21:14:36 +0100
commitaa43398da669f48653ce431763bd35264fd5e314 (patch)
tree6ac06ea5c5b92b9307f66f57bee0aecf42a03e1d /bindings
parentd06f6c698a821827884eb68c7a7e8a832acd1997 (diff)
downloadlasso-aa43398da669f48653ce431763bd35264fd5e314.tar.gz
lasso-aa43398da669f48653ce431763bd35264fd5e314.tar.xz
lasso-aa43398da669f48653ce431763bd35264fd5e314.zip
python: fix logout request parsing test
adapt to new checks done on logout request nodes
Diffstat (limited to 'bindings')
-rwxr-xr-xbindings/python/tests/profiles_tests.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/bindings/python/tests/profiles_tests.py b/bindings/python/tests/profiles_tests.py
index 0068d841..e86a6195 100755
--- a/bindings/python/tests/profiles_tests.py
+++ b/bindings/python/tests/profiles_tests.py
@@ -35,6 +35,9 @@ if not '../.libs' in sys.path:
sys.path.insert(0, '../.libs')
import lasso
+import logging
+
+logging.basicConfig()
try:
@@ -482,6 +485,7 @@ class LogoutTestCase(unittest.TestCase):
'''Test parsing of a logout request with more than one session index'''
content = '''<samlp:LogoutRequest xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" ID="xxxx" Version="2.0" IssueInstant="2010-06-14T22:00:00">
<saml:Issuer>me</saml:Issuer>
+ <saml:NameID>coin</saml:NameID>
<samlp:SessionIndex>id1</samlp:SessionIndex>
<samlp:SessionIndex>id2</samlp:SessionIndex>
<samlp:SessionIndex>id3</samlp:SessionIndex>