diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2017-11-09 17:25:52 -0800 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2017-11-09 17:25:52 -0800 |
commit | 89ac81e8836b5bcc4b019be47866115bb2ac6475 (patch) | |
tree | 09f5f680d4d8b9d408c63ca3591f9cab668d97dc /tests | |
parent | 90e00d489188d7637231dd4e7c25b3b0623db01b (diff) |
Not sure how this got past me
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_client.py | 5 |
1 files changed, 3 insertions, 2 deletions
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') |