diff options
Diffstat (limited to 'python')
| -rwxr-xr-x | python/tests/profiles_tests.py | 2 |
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') |
