summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorEmmanuel Raviart <eraviart@entrouvert.com>2004-07-23 16:21:43 +0000
committerEmmanuel Raviart <eraviart@entrouvert.com>2004-07-23 16:21:43 +0000
commit0dfb6a9d007d35b3d314abf1056dae09d65ba2c2 (patch)
treed50c1ff3a744550331d26ccc28b8590c2a453d4e /python
parent41b36be1f4a88dde81ef10ba83199afd37e94524 (diff)
downloadlasso-0dfb6a9d007d35b3d314abf1056dae09d65ba2c2.tar.gz
lasso-0dfb6a9d007d35b3d314abf1056dae09d65ba2c2.tar.xz
lasso-0dfb6a9d007d35b3d314abf1056dae09d65ba2c2.zip
First non regression test that supports full logout procedure... and shows a
bug.
Diffstat (limited to 'python')
-rw-r--r--python/tests/login_tests.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/tests/login_tests.py b/python/tests/login_tests.py
index 013c2d0c..b97652f8 100644
--- a/python/tests/login_tests.py
+++ b/python/tests/login_tests.py
@@ -172,6 +172,8 @@ class LoginTestCase(unittest.TestCase):
idpLogoutContext = lasso.Logout.new(idpContext, idpUserContext, lasso.providerTypeIdp)
self.failUnlessEqual(
idpLogoutContext.process_request_msg(soapRequestMsg, lasso.httpMethodSoap), 0)
+ # There is no other service provider from which the user must be logged out.
+ self.failUnlessEqual(idpLogoutContext.get_next_providerID(), None)
self.failUnlessEqual(idpLogoutContext.build_response_msg(), 0)
soapResponseMsg = idpLogoutContext.msg_body