diff options
author | Tim Savage <tim.savage@westpacdatabank.com.au> | 2016-12-23 09:55:34 +1100 |
---|---|---|
committer | Tim Savage <tim.savage@westpacdatabank.com.au> | 2016-12-23 09:55:34 +1100 |
commit | 0a90a25cded021434630a9deede365dd84021788 (patch) | |
tree | 58933d86078afa26ab15f1b547bdb931314c170d /tests | |
parent | 1b62fb782346069aa905fb4f9602a43d9362a547 (diff) |
Fixed test to support python 2.6
Diffstat (limited to 'tests')
-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 |