Skip to content

Commit

Permalink
Bah humbug
Browse files Browse the repository at this point in the history
  • Loading branch information
bitprophet committed Sep 6, 2014
1 parent 774bc5e commit 6a6ac4d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
from tests.util import test_path
import paramiko
from paramiko.common import PY2, b
from paramiko.ssh_exception import PasswordRequiredException
from paramiko.ssh_exception import SSHException


FINGERPRINTS = {
Expand Down Expand Up @@ -199,7 +199,9 @@ def test_multiple_key_files_failure(self):
"""
Expect failure when multiple keys in play and none are accepted
"""
self.assertRaises(PasswordRequiredException,
# Until #387 is fixed we have to catch a high-up exception since
# various platforms trigger different errors here >_<
self.assertRaises(SSHException,
self._test_connection,
key_filename=[test_path('test_rsa.key')],
allowed_keys=['ecdsa-sha2-nistp256'],
Expand Down

0 comments on commit 6a6ac4d

Please sign in to comment.