diff options
author | Frederic Peters <fpeters@entrouvert.com> | 2006-03-06 17:37:55 +0000 |
---|---|---|
committer | Frederic Peters <fpeters@entrouvert.com> | 2006-03-06 17:37:55 +0000 |
commit | 8eb82bec7cf309f0cef7431aed20166a81fc9522 (patch) | |
tree | bde11622d52e504bffa9d6f1792b2fcc9663c142 /python | |
parent | 4607b935b5244b4a5fbbdff4e02ec4aa75d3e5d6 (diff) | |
download | lasso-8eb82bec7cf309f0cef7431aed20166a81fc9522.tar.gz lasso-8eb82bec7cf309f0cef7431aed20166a81fc9522.tar.xz lasso-8eb82bec7cf309f0cef7431aed20166a81fc9522.zip |
new error check test
Diffstat (limited to 'python')
-rw-r--r-- | python/tests/errorchecking_tests.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/python/tests/errorchecking_tests.py b/python/tests/errorchecking_tests.py index 97fcc31c..3b744e84 100644 --- a/python/tests/errorchecking_tests.py +++ b/python/tests/errorchecking_tests.py @@ -74,6 +74,17 @@ class ErrorCheckingTestCase(unittest.TestCase): except lasso.Error: pass + def test04(self): + server = lasso.Server( + os.path.join(dataDir, 'sp1-la/metadata.xml'), + os.path.join(dataDir, 'sp1-la/private-key-raw.pem'), + None, + os.path.join(dataDir, 'sp1-la/certificate.pem')) + logout = lasso.Logout(server) + logout.initRequest(None, lasso.HTTP_METHOD_REDIRECT) + logout.buildRequestMsg() + + suite1 = unittest.makeSuite(ErrorCheckingTestCase, 'test') |