diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2019-12-03 14:35:04 -0500 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2019-12-03 14:35:04 -0500 |
commit | 9e6fc80397582838de8124344efcde6b17472b73 (patch) | |
tree | 50fd8121c695ad5f322ebb377b9815711098e531 /tests/test_auth.py | |
parent | 25de1a7a02a2189614787718739efbde86d5bb8e (diff) | |
parent | 84fa355a253d30d6c39adaea8bb095ced0c3b751 (diff) |
Merge branch 'master' into 1343-int
Diffstat (limited to 'tests/test_auth.py')
-rw-r--r-- | tests/test_auth.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_auth.py b/tests/test_auth.py index d98a00c4..01fbac5b 100644 --- a/tests/test_auth.py +++ b/tests/test_auth.py @@ -250,7 +250,7 @@ class AuthTest(unittest.TestCase): self.start_server() self.tc.connect(hostkey=self.public_host_key) try: - remain = self.tc.auth_password("bad-server", "hello") + self.tc.auth_password("bad-server", "hello") except: etype, evalue, etb = sys.exc_info() self.assertTrue(issubclass(etype, AuthenticationException)) @@ -265,7 +265,7 @@ class AuthTest(unittest.TestCase): self.start_server() self.tc.connect() try: - remain = self.tc.auth_password("unresponsive-server", "hello") + self.tc.auth_password("unresponsive-server", "hello") except: etype, evalue, etb = sys.exc_info() self.assertTrue(issubclass(etype, AuthenticationException)) |