summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorEmmanuel Raviart <eraviart@entrouvert.com>2005-01-09 15:28:19 +0000
committerEmmanuel Raviart <eraviart@entrouvert.com>2005-01-09 15:28:19 +0000
commitf2d24dffda0d03036b3b2f5d5fb1812deef3c334 (patch)
tree2e31a6cd53b0267572ab8823c114455a8a790125 /python
parent5947af84b10542e8c1d24413d105b071c5b663b2 (diff)
downloadlasso-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-xpython/tests/profiles_tests.py5
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):