From: Petr Špaček Date: Mon, 2 Jun 2025 11:06:54 +0000 (+0200) Subject: Use isctest library to check hypothesis version X-Git-Tag: v9.21.11~22^2~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9cea2af25ca90b206c1a8a9255883b15097a9973;p=thirdparty%2Fbind9.git Use isctest library to check hypothesis version Side-effect of importing from isctest.hypothesis first is a version check and clean Pytest skip if version is too old. --- diff --git a/bin/tests/system/dnssec/tests_nsec3.py b/bin/tests/system/dnssec/tests_nsec3.py index b06a3772fa5..1f01074edb2 100755 --- a/bin/tests/system/dnssec/tests_nsec3.py +++ b/bin/tests/system/dnssec/tests_nsec3.py @@ -27,12 +27,12 @@ import dns.rdataclass import dns.rdatatype import dns.rrset -from hypothesis import assume, given - from isctest.hypothesis.strategies import dns_names import isctest import isctest.name +from hypothesis import assume, given + SUFFIX = dns.name.from_text("nsec3.example.") AUTH = "10.53.0.3" RESOLVER = "10.53.0.4"