From 7258b5aa2b7d6de0fbe8b2dd2f5b98e40a29f17a Mon Sep 17 00:00:00 2001 From: Frederic Peters Date: Thu, 16 Dec 2004 15:34:51 +0000 Subject: merged new error codes in SWIG and used one of them in the Python tests --- python/tests/profiles_tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python') diff --git a/python/tests/profiles_tests.py b/python/tests/profiles_tests.py index 8627601e..1816fe4f 100755 --- a/python/tests/profiles_tests.py +++ b/python/tests/profiles_tests.py @@ -111,7 +111,7 @@ class LogoutTestCase(unittest.TestCase): try: logout.initRequest() except lasso.Error, error: - if error[0] != -1: + if error[0] != lasso.PROFILE_ERROR_SESSION_NOT_FOUND: raise else: self.fail('logout.initRequest without having set identity before should fail') -- cgit