diff options
Diffstat (limited to 'python/tests/errorchecking_tests.py')
-rw-r--r-- | python/tests/errorchecking_tests.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/python/tests/errorchecking_tests.py b/python/tests/errorchecking_tests.py index ab15bd69..adf2ac78 100644 --- a/python/tests/errorchecking_tests.py +++ b/python/tests/errorchecking_tests.py @@ -37,8 +37,6 @@ import lasso class ErrorCheckingTestCase(unittest.TestCase): def DISABLEDtest01(self): - # the user should call lasso.Login.new(); but what if it doesn't ? - # An exception should be raised; the program should not segfault. try: lasso.Login(None).msg_url except: @@ -54,13 +52,13 @@ class ErrorCheckingTestCase(unittest.TestCase): 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 - server = lasso.Server.new( + server = lasso.Server( '../../tests/data/idp1-la/metadata.xml', None, # '../../tests/data/idp1-la/public-key.pem' is no more used '../../tests/data/idp1-la/private-key-raw.pem', '../../tests/data/idp1-la/certificate.pem', lasso.signatureMethodRsaSha1) - login = lasso.Login.new(server) + login = lasso.Login(server) try: login.init_from_authn_request_msg("", lasso.httpMethodRedirect) except: |