]> git.ipfire.org Git - thirdparty/bind9.git/commit
Don't use pytest.importorskip in isctest.name
authorŠtěpán Balážik <stepan@isc.org>
Tue, 4 Nov 2025 12:40:26 +0000 (13:40 +0100)
committerŠtěpán Balážik <stepan@isc.org>
Tue, 4 Nov 2025 15:57:59 +0000 (16:57 +0100)
commita94aab94404201a662c1e1d3e53cdeae0f5c8db5
tree94ba3d485c07e478f7c6bfd6da470b2a78f677d2
parent496a5e876a7ba4cec975b0de5a28956d0fee4d68
Don't use pytest.importorskip in isctest.name

They can be used outside of test modules (like ans.py custom servers)
which leads to pytest.outcomes.Skipped being raised in weird places and
skipping of tests which don't need dnspython this new.

Remove pytest.importskip from top scope in isctest.name, only run the
check when ZoneAnalyzer is used.
bin/tests/system/isctest/name.py
bin/tests/system/nsec3-answer/tests_nsec3.py
bin/tests/system/selftest/tests_zone_analyzer.py