From 5435c3ea335214a72750b250dc8d498e46198649 Mon Sep 17 00:00:00 2001 From: Emmanuel Raviart Date: Sun, 25 Jul 2004 15:15:56 +0000 Subject: Adapted logout unit test to new API. --- python/tests/login_tests.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'python/tests') diff --git a/python/tests/login_tests.py b/python/tests/login_tests.py index 26ceb388..21fb1ddf 100644 --- a/python/tests/login_tests.py +++ b/python/tests/login_tests.py @@ -174,10 +174,11 @@ class LoginTestCase(unittest.TestCase): self.failUnless(idpContext) idpLogoutContext = lasso.Logout.new(lasso.providerTypeIdp, idpContext) self.failUnlessEqual( - idpLogoutContext.process_request_msg(soapRequestMsg, lasso.httpMethodSoap), 0) + idpLogoutContext.load_request_msg(soapRequestMsg, lasso.httpMethodSoap), 0) self.failUnlessEqual(idpLogoutContext.nameIdentifier, nameIdentifier) self.failUnless(idpUserContextDump) - self.failUnlessEqual(idpLogoutContext.create_user(idpUserContextDump), 0) + self.failUnlessEqual(idpLogoutContext.load_user_dump(idpUserContextDump), 0) + self.failUnlessEqual(idpLogoutContext.process_request(), 0) idpUserContext = idpLogoutContext.user self.failUnless(idpUserContext) idpUserContextDump = idpUserContext.dump() -- cgit