From 00c850a92a90f5a02c55ebaf91339bd2d96e05bd Mon Sep 17 00:00:00 2001 From: Frederic Peters Date: Fri, 18 Mar 2005 22:22:42 +0000 Subject: docstring to errorchecking tests --- python/tests/errorchecking_tests.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'python') 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( -- cgit