diff options
-rw-r--r-- | tests/test_auth.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_auth.py b/tests/test_auth.py index 5c0bd264..4fe6a325 100644 --- a/tests/test_auth.py +++ b/tests/test_auth.py @@ -253,7 +253,7 @@ class AuthTest (unittest.TestCase): except: etype, evalue, etb = sys.exc_info() self.assertTrue(issubclass(etype, AuthenticationException)) - self.assertIn('Authentication timeout', str(evalue)) + self.assertTrue('Authentication timeout' in str(evalue)) finally: # Restore value self.tc.auth_timeout = auth_timeout |