summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorFrederic Peters <fpeters@entrouvert.com>2004-12-16 15:34:51 +0000
committerFrederic Peters <fpeters@entrouvert.com>2004-12-16 15:34:51 +0000
commit7258b5aa2b7d6de0fbe8b2dd2f5b98e40a29f17a (patch)
tree6642173bf7784b32b3f396a0073e0d56d00236ce /python
parent76ec7eb692476075c9ab2649f8612479ed5df0f5 (diff)
downloadlasso-7258b5aa2b7d6de0fbe8b2dd2f5b98e40a29f17a.tar.gz
lasso-7258b5aa2b7d6de0fbe8b2dd2f5b98e40a29f17a.tar.xz
lasso-7258b5aa2b7d6de0fbe8b2dd2f5b98e40a29f17a.zip
merged new error codes in SWIG and used one of them in the Python tests
Diffstat (limited to 'python')
-rwxr-xr-xpython/tests/profiles_tests.py2
1 files changed, 1 insertions, 1 deletions
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')