diff options
Diffstat (limited to 'python')
| -rwxr-xr-x | python/tests/profiles_tests.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/python/tests/profiles_tests.py b/python/tests/profiles_tests.py index 3b0b2a6f..bc9a4d26 100755 --- a/python/tests/profiles_tests.py +++ b/python/tests/profiles_tests.py @@ -311,7 +311,11 @@ class LoginTestCase(unittest.TestCase): os.path.join(dataDir, 'idp1-la/public-key.pem'), os.path.join(dataDir, 'idp1-la/certificate.pem')) login = lasso.Login(lassoServer) - login.processResponseMsg('') + try: + login.processResponseMsg('') + except lasso.Error, error: + if error[0] != lasso.PROFILE_ERROR_INVALID_MSG: + raise class LogoutTestCase(unittest.TestCase): |
