summaryrefslogtreecommitdiffstats
path: root/python/tests/errorchecking_tests.py
diff options
context:
space:
mode:
authorEmmanuel Raviart <eraviart@entrouvert.com>2004-08-29 23:57:46 +0000
committerEmmanuel Raviart <eraviart@entrouvert.com>2004-08-29 23:57:46 +0000
commitcd567ad391f0c9a96083b930557905d786dadd7e (patch)
tree722daa36aa4e4eed9ced884f8956dd33f6f7e0ed /python/tests/errorchecking_tests.py
parentc0d276aa16fe15c739e3979b1e74a7b0f43e7126 (diff)
downloadlasso-cd567ad391f0c9a96083b930557905d786dadd7e.tar.gz
lasso-cd567ad391f0c9a96083b930557905d786dadd7e.tar.xz
lasso-cd567ad391f0c9a96083b930557905d786dadd7e.zip
SWIG high-level binding now uses camelCase.
Updated SWIG binding to support Java high-level classes. Simplified java/Makefile.am (but now, it needs to be reworked by an autotools expert). ColdFusion simple Java test compiles ok.
Diffstat (limited to 'python/tests/errorchecking_tests.py')
-rw-r--r--python/tests/errorchecking_tests.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/python/tests/errorchecking_tests.py b/python/tests/errorchecking_tests.py
index 65cdbbe8..6dac359f 100644
--- a/python/tests/errorchecking_tests.py
+++ b/python/tests/errorchecking_tests.py
@@ -45,20 +45,20 @@ except NameError:
class ErrorCheckingTestCase(unittest.TestCase):
def test01(self):
try:
- lasso.Login(None).msg_url
+ lasso.Login(None).msgUrl
except:
pass
def test02(self):
# Same as test01; replace Login by Logout
try:
- lasso.Logout(None, lasso.providerTypeSp).msg_url
+ lasso.Logout(None, lasso.providerTypeSp).msgUrl
except:
pass
def test03(self):
# This time; we got something wrong as query string; we pass it to
- # init_from_authn_request_msg; surely it shouldn't segfault
+ # initFromAuthnRequestMsg; surely it shouldn't segfault
server = lasso.Server(
os.path.join(dataDir, 'idp1-la/metadata.xml'),
None, # os.path.join(dataDir, 'idp1-la/public-key.pem') is no more used
@@ -67,7 +67,7 @@ class ErrorCheckingTestCase(unittest.TestCase):
lasso.signatureMethodRsaSha1)
login = lasso.Login(server)
try:
- login.init_from_authn_request_msg("", lasso.httpMethodRedirect)
+ login.initFromAuthnRequestMsg("", lasso.httpMethodRedirect)
except:
pass