diff options
author | Emmanuel Raviart <eraviart@entrouvert.com> | 2004-07-25 15:15:56 +0000 |
---|---|---|
committer | Emmanuel Raviart <eraviart@entrouvert.com> | 2004-07-25 15:15:56 +0000 |
commit | 5435c3ea335214a72750b250dc8d498e46198649 (patch) | |
tree | a946fb4ce07fbd36bb0485cc3db6bff3adc38754 /python/tests | |
parent | e5a5b1d8da8aabd12903a6e74824aee4e565a0a7 (diff) | |
download | lasso-5435c3ea335214a72750b250dc8d498e46198649.tar.gz lasso-5435c3ea335214a72750b250dc8d498e46198649.tar.xz lasso-5435c3ea335214a72750b250dc8d498e46198649.zip |
Adapted logout unit test to new API.
Diffstat (limited to 'python/tests')
-rw-r--r-- | python/tests/login_tests.py | 5 |
1 files changed, 3 insertions, 2 deletions
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() |