From 0dfb6a9d007d35b3d314abf1056dae09d65ba2c2 Mon Sep 17 00:00:00 2001 From: Emmanuel Raviart Date: Fri, 23 Jul 2004 16:21:43 +0000 Subject: First non regression test that supports full logout procedure... and shows a bug. --- python/tests/login_tests.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'python') 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 -- cgit