From 8843feb633827cb65066ce01f3e0347038cbb10c Mon Sep 17 00:00:00 2001 From: Robey Pointer Date: Tue, 9 May 2006 09:45:49 -0700 Subject: [project @ robey@lag.net-20060509164549-14e664f234b4b747] new parent exception for all auth failures, and new specific exception for bad host key --- tests/test_transport.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/test_transport.py') 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()) -- cgit v1.2.3