# HG changeset patch
# User Paul Howarth <paul@city-fan.org>
# Date 1652803242 -3600
#      Tue May 17 17:00:42 2022 +0100
# Node ID 150f39f182b805c7022656f32fa3335eb4db6242
# Parent  000487142baa3de409312f350c02338688cc78fb
Mark new tests that require SHA1

Like https://github.com/paramiko/paramiko/pull/2011

diff --git a/tests/test_client.py b/tests/test_client.py
--- a/tests/test_client.py
+++ b/tests/test_client.py
@@ -361,9 +361,11 @@
             == "{}-cert-v01@openssh.com".format(alg)
         )
 
+    @requires_sha1_signing
     def test_old_openssh_needs_ssh_rsa_for_certs_not_rsa_sha2(self):
         self._cert_algo_test(ver="7.7", alg="ssh-rsa")
 
+    @requires_sha1_signing
     def test_newer_openssh_uses_rsa_sha2_for_certs_not_ssh_rsa(self):
         # NOTE: 512 happens to be first in our list and is thus chosen
         self._cert_algo_test(ver="7.8", alg="rsa-sha2-512")