From 82fd1bcd38957ed4a12eb867885ae3787b28144d Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Sun, 8 Jun 2014 12:50:26 +0200 Subject: bindings/python/tests: session indexes storage preserves order now --- bindings/python/tests/profiles_tests.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bindings/python/tests/profiles_tests.py b/bindings/python/tests/profiles_tests.py index 4d00f18d..bbe1748d 100755 --- a/bindings/python/tests/profiles_tests.py +++ b/bindings/python/tests/profiles_tests.py @@ -295,7 +295,6 @@ class LoginTestCase(unittest.TestCase): lasso.PROVIDER_ROLE_SP, os.path.join(dataDir, 'sp5-saml2/metadata.xml')) idp_login = lasso.Login(idp) - print sp_login.msgUrl idp_login.processAuthnRequestMsg(sp_login.msgUrl.split('?')[1]) idp_login.protocolProfile = lasso.LOGIN_PROTOCOL_PROFILE_BRWS_POST; idp_login.validateRequestMsg(True, True) @@ -493,7 +492,7 @@ class LogoutTestCase(unittest.TestCase): node = lasso.Samlp2LogoutRequest.newFromXmlNode(content) assert isinstance(node, lasso.Samlp2LogoutRequest) assert node.sessionIndex == 'id1' - assert node.sessionIndexes == ('id2', 'id3', 'id1') + assert node.sessionIndexes == ('id1', 'id2', 'id3') serverSuite = unittest.makeSuite(ServerTestCase, 'test') loginSuite = unittest.makeSuite(LoginTestCase, 'test') -- cgit