summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorFrederic Peters <fpeters@entrouvert.com>2005-03-18 22:22:42 +0000
committerFrederic Peters <fpeters@entrouvert.com>2005-03-18 22:22:42 +0000
commit00c850a92a90f5a02c55ebaf91339bd2d96e05bd (patch)
tree72b0e17720520a83d48d7915fcb58c96e573970d /python
parentd855564767355980d9aac15f7eac8af6234307e9 (diff)
downloadlasso-00c850a92a90f5a02c55ebaf91339bd2d96e05bd.tar.gz
lasso-00c850a92a90f5a02c55ebaf91339bd2d96e05bd.tar.xz
lasso-00c850a92a90f5a02c55ebaf91339bd2d96e05bd.zip
docstring to errorchecking tests
Diffstat (limited to 'python')
-rw-r--r--python/tests/errorchecking_tests.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/python/tests/errorchecking_tests.py b/python/tests/errorchecking_tests.py
index db6bd6a7..97fcc31c 100644
--- a/python/tests/errorchecking_tests.py
+++ b/python/tests/errorchecking_tests.py
@@ -45,12 +45,14 @@ except NameError:
class ErrorCheckingTestCase(unittest.TestCase):
def test01(self):
+ """Instanciate Login with None as Server"""
try:
lasso.Login(None).msgUrl
except:
pass
def test02(self):
+ """Instanciate Logout with None as Server"""
# Same as test01; replace Login by Logout
try:
lasso.Logout(None, lasso.providerTypeSp).msgUrl
@@ -58,6 +60,7 @@ class ErrorCheckingTestCase(unittest.TestCase):
pass
def test03(self):
+ """Process empty string as authnrequest msg"""
# This time; we got something wrong as query string; we pass it to
# initFromAuthnRequestMsg; surely it shouldn't segfault
server = lasso.Server(