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.

(cherry picked from commit 9cea2af25c)
This commit is contained in:
Petr Špaček 2025-06-02 13:06:54 +02:00
parent c6ad43f6ba
commit 2cf035b87d

View file

@ -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"