summaryrefslogtreecommitdiffstats
path: root/python/tests/errorchecking_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/tests/errorchecking_tests.py')
-rw-r--r--python/tests/errorchecking_tests.py11
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')