Skip checkds test on Python<3.7

checkds test requires the capture_output argument for subprocess.run()
which was added in Python 3.7.
This commit is contained in:
Tom Krizek 2023-08-22 17:09:59 +02:00
parent a0801963ad
commit 0361233b3d
No known key found for this signature in database
GPG key ID: 01623B9B652A20A7

View file

@ -30,6 +30,11 @@ import dns.rdatatype
import dns.resolver
pytestmark = pytest.mark.skipif(
sys.version_info < (3, 7), reason="Python >= 3.7 required [GL #3001]"
)
def has_signed_apex_nsec(zone, response):
has_nsec = False
has_rrsig = False