]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Fix NSEC3HASH system test on jammy
authorŠtěpán Balážik <stepan@isc.org>
Wed, 5 Nov 2025 09:51:26 +0000 (10:51 +0100)
committerŠtěpán Balážik <stepan@isc.org>
Wed, 5 Nov 2025 09:51:26 +0000 (10:51 +0100)
a94aab94404201a662c1e1d3e53cdeae0f5c8db5 removed importorskip call from
isctest.name on which the functionality of this test relied.

Add an explicit importorskip call to the test.

bin/tests/system/tools/tests_tools_nsec3hash.py

index f1384d6ceb5d6d6e0fa2a324e970286a0ed231ee..605e5e55af450687e35ca55d404d1821e5b2893b 100644 (file)
@@ -19,6 +19,7 @@ from isctest.hypothesis.strategies import dns_names
 
 from hypothesis import strategies, given, settings
 
+pytest.importorskip("dns.dnssectypes")
 from dns.dnssectypes import NSEC3Hash
 import dns.dnssec