diff options
author | Robey Pointer <robey@lag.net> | 2006-05-09 09:45:49 -0700 |
---|---|---|
committer | Robey Pointer <robey@lag.net> | 2006-05-09 09:45:49 -0700 |
commit | 8843feb633827cb65066ce01f3e0347038cbb10c (patch) | |
tree | efcec69aa4df2dfaa364683fbb94937d6d0756c7 /tests/test_transport.py | |
parent | 02e81785104d97e0634e5a41e87f3b083ea0e952 (diff) |
[project @ robey@lag.net-20060509164549-14e664f234b4b747]
new parent exception for all auth failures, and new specific exception for bad host key
Diffstat (limited to 'tests/test_transport.py')
-rw-r--r-- | tests/test_transport.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_transport.py b/tests/test_transport.py index f73f0f7f..75d33419 100644 --- a/tests/test_transport.py +++ b/tests/test_transport.py @@ -258,7 +258,7 @@ class TransportTest (unittest.TestCase): self.assert_(False) except: etype, evalue, etb = sys.exc_info() - self.assertEquals(SSHException, etype) + self.assert_(issubclass(etype, SSHException)) self.tc.auth_password(username='slowdive', password='pygmalion') event.wait(1.0) self.assert_(event.isSet()) |