From 89ac81e8836b5bcc4b019be47866115bb2ac6475 Mon Sep 17 00:00:00 2001 From: Jeff Forcier Date: Thu, 9 Nov 2017 17:25:52 -0800 Subject: Not sure how this got past me --- tests/test_client.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/test_client.py b/tests/test_client.py index 53c95be7..7163fdcf 100644 --- a/tests/test_client.py +++ b/tests/test_client.py @@ -654,8 +654,9 @@ class PasswordPassphraseTests(ClientTest): # Straightforward / duplicate of earlier basic password test. self._test_connection(password='pygmalion') - # TODO: more granular exception pending #387 - @raises(AuthenticationException) + # TODO: more granular exception pending #387; should be signaling "no auth + # methods available" because no key and no password + @raises(SSHException) def test_passphrase_kwarg_not_used_for_password_auth(self): # Using the "right" password in the "wrong" field shouldn't work. self._test_connection(passphrase='pygmalion') -- cgit v1.2.3