summaryrefslogtreecommitdiffhomepage
path: root/tests/test_client.py
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2022-03-25 18:20:37 -0400
committerJeff Forcier <jeff@bitprophet.org>2022-03-25 18:20:37 -0400
commit3b029927fa2f5f1c2706d6716755cc2588caee3f (patch)
tree57e3e68191a9e83fb55293153e04090b9fe0d71b /tests/test_client.py
parent43189ef6f2b55b4a09c042ce3fd4d1703c2091e3 (diff)
Refactor sha1 test skipping a tad
Diffstat (limited to 'tests/test_client.py')
-rw-r--r--tests/test_client.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/test_client.py b/tests/test_client.py
index a0a321ce..1c28d824 100644
--- a/tests/test_client.py
+++ b/tests/test_client.py
@@ -41,17 +41,13 @@ from paramiko import SSHClient
from paramiko.pkey import PublicBlob
from paramiko.ssh_exception import SSHException, AuthenticationException
-from .util import _support, sha1_signing_unsupported, slow
+from .util import _support, requires_sha1_signing, slow
requires_gss_auth = unittest.skipUnless(
paramiko.GSS_AUTH_AVAILABLE, "GSS auth not available"
)
-requires_sha1_signing = unittest.skipIf(
- sha1_signing_unsupported(), "SHA-1 signing not supported"
-)
-
FINGERPRINTS = {
"ssh-dss": b"\x44\x78\xf0\xb9\xa2\x3c\xc5\x18\x20\x09\xff\x75\x5b\xc1\xd2\x6c", # noqa
"ssh-rsa": b"\x60\x73\x38\x44\xcb\x51\x86\x65\x7f\xde\xda\xa2\x2b\x5a\x57\xd5", # noqa