diff options
| author | Emmanuel Raviart <eraviart@entrouvert.com> | 2005-01-09 15:28:19 +0000 |
|---|---|---|
| committer | Emmanuel Raviart <eraviart@entrouvert.com> | 2005-01-09 15:28:19 +0000 |
| commit | f2d24dffda0d03036b3b2f5d5fb1812deef3c334 (patch) | |
| tree | 2e31a6cd53b0267572ab8823c114455a8a790125 /python | |
| parent | 5947af84b10542e8c1d24413d105b071c5b663b2 (diff) | |
| download | lasso-f2d24dffda0d03036b3b2f5d5fb1812deef3c334.tar.gz lasso-f2d24dffda0d03036b3b2f5d5fb1812deef3c334.tar.xz lasso-f2d24dffda0d03036b3b2f5d5fb1812deef3c334.zip | |
Swig: Removed login & lecp authnRequest & authnResponse attribute. Now uses
attributes request & response, like C. Added dynamic casting to
AuthnRequestAbstract & AuthnResponseAbstract.
Diffstat (limited to 'python')
| -rwxr-xr-x | python/tests/profiles_tests.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/python/tests/profiles_tests.py b/python/tests/profiles_tests.py index 1816fe4f..6dcc4af6 100755 --- a/python/tests/profiles_tests.py +++ b/python/tests/profiles_tests.py @@ -89,8 +89,9 @@ class LoginTestCase(unittest.TestCase): os.path.join(dataDir, 'idp1-la/certificate.pem')) login = lasso.Login(lassoServer) login.initAuthnRequest() - login.authnRequest - login.authnRequest.protocolProfile = lasso.libProtocolProfileBrwsArt + login.request + login.request.protocolProfile = lasso.libProtocolProfileBrwsArt + self.failUnlessEqual(login.request.protocolProfile, lasso.libProtocolProfileBrwsArt) class LogoutTestCase(unittest.TestCase): |
