summaryrefslogtreecommitdiffstats
path: root/python/tests/errorchecking_tests.py
diff options
context:
space:
mode:
authorEmmanuel Raviart <eraviart@entrouvert.com>2004-09-29 22:08:53 +0000
committerEmmanuel Raviart <eraviart@entrouvert.com>2004-09-29 22:08:53 +0000
commitc8a821afef28d840ea54fca549c01b437101ae34 (patch)
tree13ca16f3dbd465d335dfdbe3afb522102778d9ae /python/tests/errorchecking_tests.py
parent54ec0c541d41b7f1512bd252fa0b5dfffdb86a04 (diff)
downloadlasso-c8a821afef28d840ea54fca549c01b437101ae34.tar.gz
lasso-c8a821afef28d840ea54fca549c01b437101ae34.tar.xz
lasso-c8a821afef28d840ea54fca549c01b437101ae34.zip
Updates Python tests to new Lasso API.
Diffstat (limited to 'python/tests/errorchecking_tests.py')
-rw-r--r--python/tests/errorchecking_tests.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/python/tests/errorchecking_tests.py b/python/tests/errorchecking_tests.py
index a27ee9ec..01a35b71 100644
--- a/python/tests/errorchecking_tests.py
+++ b/python/tests/errorchecking_tests.py
@@ -61,13 +61,12 @@ class ErrorCheckingTestCase(unittest.TestCase):
# 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
os.path.join(dataDir, 'idp1-la/private-key-raw.pem'),
- os.path.join(dataDir, 'idp1-la/certificate.pem'),
- lasso.signatureMethodRsaSha1)
+ None,
+ os.path.join(dataDir, 'idp1-la/certificate.pem'))
login = lasso.Login(server)
try:
- login.initFromAuthnRequestMsg("", lasso.httpMethodRedirect)
+ login.processAuthnRequestMsg("", lasso.httpMethodRedirect)
except lasso.Error:
pass