Commit db42fa66cc for bind

commit db42fa66cc6943f3f8f49c0a609e742b90ddc9b9
Author: Nicki Křížek <nicki@isc.org>
Date:   Thu Dec 3 16:18:41 2026 +0000

    Drop explicit imports of the isctest submodules from tests

    The isctest package loads its submodules on first use, so a test
    needs only "import isctest".  Some tests imported the submodules
    explicitly as well, others relied on another module having imported
    them.

diff --git a/bin/tests/system/auth_res_deleg/tests_auth_res_deleg.py b/bin/tests/system/auth_res_deleg/tests_auth_res_deleg.py
index 861f3a5e27..d3fa4e57a5 100644
--- a/bin/tests/system/auth_res_deleg/tests_auth_res_deleg.py
+++ b/bin/tests/system/auth_res_deleg/tests_auth_res_deleg.py
@@ -12,7 +12,6 @@
 import os

 import isctest
-import isctest.mark

 pytestmark = [isctest.mark.with_dnstap]

diff --git a/bin/tests/system/checkconf/tests_checkconf.py b/bin/tests/system/checkconf/tests_checkconf.py
index a35736cf73..42eddd53c3 100644
--- a/bin/tests/system/checkconf/tests_checkconf.py
+++ b/bin/tests/system/checkconf/tests_checkconf.py
@@ -16,7 +16,6 @@ import os
 import pytest

 import isctest
-import isctest.mark


 def test_checkconf_effective():
diff --git a/bin/tests/system/checkds/tests_checkds.py b/bin/tests/system/checkds/tests_checkds.py
index a2234cb6cb..a643e2ea26 100644
--- a/bin/tests/system/checkds/tests_checkds.py
+++ b/bin/tests/system/checkds/tests_checkds.py
@@ -21,7 +21,6 @@ import dns.rdatatype
 import pytest

 import isctest
-import isctest.mark

 pytestmark = [
     isctest.mark.with_libnghttp2,
diff --git a/bin/tests/system/cipher_suites/tests_cipher_suites.py b/bin/tests/system/cipher_suites/tests_cipher_suites.py
index ef42facae9..40ebfec168 100644
--- a/bin/tests/system/cipher_suites/tests_cipher_suites.py
+++ b/bin/tests/system/cipher_suites/tests_cipher_suites.py
@@ -13,7 +13,6 @@ import dns.rcode
 import pytest

 import isctest
-import isctest.mark

 pytestmark = pytest.mark.extra_artifacts(
     [
diff --git a/bin/tests/system/conftest.py b/bin/tests/system/conftest.py
index 96a67f25e9..062e93ed8e 100644
--- a/bin/tests/system/conftest.py
+++ b/bin/tests/system/conftest.py
@@ -39,10 +39,10 @@ if (dns.version.MAJOR, dns.version.MINOR, dns.version.MICRO) < (2, 9, 0):
         f"(found {dns.version.version})."
     )

+from isctest.tools.testsock import check_ipv4_interfaces
 from isctest.vars.build import SYSTEM_TEST_DIR_GIT_PATH

 import isctest
-import isctest.tools.testsock

 # pylint: enable=wrong-import-position

@@ -616,7 +616,7 @@ def system_test(
         port = int(os.environ["PORT"])
         try:
             for check_port in range(port, port + isctest.vars.ports.PORTS_PER_TEST):
-                isctest.tools.testsock.check_ipv4_interfaces(check_port)
+                check_ipv4_interfaces(check_port)
         except OSError as exc:
             isctest.log.error("testsock: %s", exc)
             if exc.errno == errno.EADDRINUSE:
diff --git a/bin/tests/system/cpu/tests_sh_cpu.py b/bin/tests/system/cpu/tests_sh_cpu.py
index 53d5f78a2a..08954c33d0 100644
--- a/bin/tests/system/cpu/tests_sh_cpu.py
+++ b/bin/tests/system/cpu/tests_sh_cpu.py
@@ -11,7 +11,7 @@

 import pytest

-import isctest.mark
+import isctest

 EXTRA_ARTIFACTS = pytest.mark.extra_artifacts(
     [
diff --git a/bin/tests/system/deleg/tests_auth.py b/bin/tests/system/deleg/tests_auth.py
index af7eb5639d..4b2cf5097d 100644
--- a/bin/tests/system/deleg/tests_auth.py
+++ b/bin/tests/system/deleg/tests_auth.py
@@ -18,7 +18,6 @@ from dns import rdatatype, update
 import pytest

 import isctest
-import isctest.mark

 pytestmark = pytest.mark.extra_artifacts(
     [
diff --git a/bin/tests/system/delegdb_flush/tests_delegdb_flush.py b/bin/tests/system/delegdb_flush/tests_delegdb_flush.py
index 1ac2e1f499..6130c90abb 100644
--- a/bin/tests/system/delegdb_flush/tests_delegdb_flush.py
+++ b/bin/tests/system/delegdb_flush/tests_delegdb_flush.py
@@ -13,7 +13,7 @@ import os

 import requests

-import isctest.mark
+import isctest

 pytestmark = [isctest.mark.with_json_c, isctest.mark.with_developer]

diff --git a/bin/tests/system/digdelv/tests_dig.py b/bin/tests/system/digdelv/tests_dig.py
index 0a58c8b190..6c13e73a87 100644
--- a/bin/tests/system/digdelv/tests_dig.py
+++ b/bin/tests/system/digdelv/tests_dig.py
@@ -25,7 +25,6 @@ from digdelv.common import ARTIFACTS, check_ttl_range, parse_yaml
 from isctest.util import param

 import isctest
-import isctest.mark

 pytestmark = [
     pytest.mark.extra_artifacts(ARTIFACTS),
diff --git a/bin/tests/system/digdelv/tests_digdelv_delv.py b/bin/tests/system/digdelv/tests_digdelv_delv.py
index 957475a132..e12c493996 100644
--- a/bin/tests/system/digdelv/tests_digdelv_delv.py
+++ b/bin/tests/system/digdelv/tests_digdelv_delv.py
@@ -23,7 +23,6 @@ from digdelv.common import ARTIFACTS, check_ttl_range, parse_yaml
 from isctest.util import param

 import isctest
-import isctest.mark

 pytestmark = [
     pytest.mark.extra_artifacts(ARTIFACTS),
diff --git a/bin/tests/system/dlzexternal/tests_sh_dlzexternal.py b/bin/tests/system/dlzexternal/tests_sh_dlzexternal.py
index d71cab51bc..d087d1d9f3 100644
--- a/bin/tests/system/dlzexternal/tests_sh_dlzexternal.py
+++ b/bin/tests/system/dlzexternal/tests_sh_dlzexternal.py
@@ -11,7 +11,7 @@

 import pytest

-import isctest.mark
+import isctest

 EXTRA_ARTIFACTS = pytest.mark.extra_artifacts(
     [
diff --git a/bin/tests/system/dnssec/tests_validation.py b/bin/tests/system/dnssec/tests_validation.py
index adbf12a72a..f3ef11cf97 100644
--- a/bin/tests/system/dnssec/tests_validation.py
+++ b/bin/tests/system/dnssec/tests_validation.py
@@ -22,7 +22,6 @@ import pytest
 from isctest.util import newer_mtime, param

 import isctest
-import isctest.mark

 pytestmark = pytest.mark.extra_artifacts(
     [
diff --git a/bin/tests/system/dnssec_nsec3/tests_dnssec_nsec3_delegation.py b/bin/tests/system/dnssec_nsec3/tests_dnssec_nsec3_delegation.py
index 4df2b442b0..4ae6465f44 100644
--- a/bin/tests/system/dnssec_nsec3/tests_dnssec_nsec3_delegation.py
+++ b/bin/tests/system/dnssec_nsec3/tests_dnssec_nsec3_delegation.py
@@ -15,9 +15,6 @@ import dns.rdatatype
 import pytest

 import isctest
-import isctest.mark
-import isctest.template
-import isctest.zone

 F055_ZONE = "f055.test."
 SAFE = f"safe.{F055_ZONE}"
diff --git a/bin/tests/system/dnssec_nsec3/tests_nsec3_wrong_zone.py b/bin/tests/system/dnssec_nsec3/tests_nsec3_wrong_zone.py
index d41903a4df..3ce77206f6 100644
--- a/bin/tests/system/dnssec_nsec3/tests_nsec3_wrong_zone.py
+++ b/bin/tests/system/dnssec_nsec3/tests_nsec3_wrong_zone.py
@@ -15,9 +15,6 @@ import dns.rdatatype
 import pytest

 import isctest
-import isctest.mark
-import isctest.template
-import isctest.zone

 PARENT = "f025.test."
 CHILD = f"evil.{PARENT}"
diff --git a/bin/tests/system/dnssec_parent_rrsig/tests_parent_rrsig.py b/bin/tests/system/dnssec_parent_rrsig/tests_parent_rrsig.py
index 5582d1d182..423f4274ab 100644
--- a/bin/tests/system/dnssec_parent_rrsig/tests_parent_rrsig.py
+++ b/bin/tests/system/dnssec_parent_rrsig/tests_parent_rrsig.py
@@ -15,9 +15,6 @@ import dns.rdatatype
 import pytest

 import isctest
-import isctest.mark
-import isctest.template
-import isctest.zone

 PARENT = "f044.test."
 CHILD = f"child.{PARENT}"
diff --git a/bin/tests/system/dnssec_py/tests_delegationtrap.py b/bin/tests/system/dnssec_py/tests_delegationtrap.py
index 05158c25c1..4b57397149 100644
--- a/bin/tests/system/dnssec_py/tests_delegationtrap.py
+++ b/bin/tests/system/dnssec_py/tests_delegationtrap.py
@@ -48,8 +48,6 @@ from isctest.template import NS2, Nameserver, zones
 from isctest.zone import PythonZoneKey, Zone, configure_root

 import isctest
-import isctest.check
-import isctest.query

 pytestmark = DNSSEC_PY_MARK

diff --git a/bin/tests/system/dnssec_py/tests_findnoqname_mismatch.py b/bin/tests/system/dnssec_py/tests_findnoqname_mismatch.py
index 5b08e8b5cf..2feeb2f55f 100644
--- a/bin/tests/system/dnssec_py/tests_findnoqname_mismatch.py
+++ b/bin/tests/system/dnssec_py/tests_findnoqname_mismatch.py
@@ -24,7 +24,6 @@ from isctest.template import NS4, NS9, Nameserver, zones
 from isctest.zone import PythonZoneKey, Zone

 import isctest
-import isctest.mark

 ZONE = "f217.test."
 CHILD = f"evil.{ZONE}"
diff --git a/bin/tests/system/dnssec_py/tests_nsec3_answer.py b/bin/tests/system/dnssec_py/tests_nsec3_answer.py
index 4863011760..e3d2ee4fe2 100644
--- a/bin/tests/system/dnssec_py/tests_nsec3_answer.py
+++ b/bin/tests/system/dnssec_py/tests_nsec3_answer.py
@@ -39,7 +39,6 @@ from isctest.template import NS2, zones
 from isctest.zone import Zone, configure_root

 import isctest
-import isctest.name

 pytestmark = DNSSEC_PY_MARK

diff --git a/bin/tests/system/dnssec_py/tests_rrsig_labels_signer.py b/bin/tests/system/dnssec_py/tests_rrsig_labels_signer.py
index 1b4de7748e..14cabf95d3 100644
--- a/bin/tests/system/dnssec_py/tests_rrsig_labels_signer.py
+++ b/bin/tests/system/dnssec_py/tests_rrsig_labels_signer.py
@@ -25,8 +25,6 @@ from isctest.template import ANS4, NS2, zones
 from isctest.zone import PythonZoneKey, Zone, configure_root

 import isctest
-import isctest.check
-import isctest.query

 pytestmark = DNSSEC_PY_MARK

diff --git a/bin/tests/system/dnssec_wildcard/tests_dnssec_wildcard_additional.py b/bin/tests/system/dnssec_wildcard/tests_dnssec_wildcard_additional.py
index f4b1f984d8..da97707c07 100644
--- a/bin/tests/system/dnssec_wildcard/tests_dnssec_wildcard_additional.py
+++ b/bin/tests/system/dnssec_wildcard/tests_dnssec_wildcard_additional.py
@@ -15,8 +15,6 @@ import dns.rdatatype
 import pytest

 import isctest
-import isctest.template
-import isctest.zone

 TESTZONE = "f043.test."
 QUERY = f"svc.{TESTZONE}"
diff --git a/bin/tests/system/dnssec_wildcard/tests_replayed_parent_wildcard.py b/bin/tests/system/dnssec_wildcard/tests_replayed_parent_wildcard.py
index b58cf4908f..dcf3f7f2c7 100644
--- a/bin/tests/system/dnssec_wildcard/tests_replayed_parent_wildcard.py
+++ b/bin/tests/system/dnssec_wildcard/tests_replayed_parent_wildcard.py
@@ -15,8 +15,6 @@ import dns.rdatatype
 import pytest

 import isctest
-import isctest.template
-import isctest.zone

 PARENT = "f045.test."
 CHILD = f"child.{PARENT}"
diff --git a/bin/tests/system/dnstap/tests_dnstap.py b/bin/tests/system/dnstap/tests_dnstap.py
index 40cb511317..a935480d33 100644
--- a/bin/tests/system/dnstap/tests_dnstap.py
+++ b/bin/tests/system/dnstap/tests_dnstap.py
@@ -23,7 +23,6 @@ import yaml
 from dnstap.common import ARTIFACTS, dnstap_read

 import isctest
-import isctest.mark

 pytestmark = [
     isctest.mark.with_dnstap,
diff --git a/bin/tests/system/dnstap/tests_dnstap_file.py b/bin/tests/system/dnstap/tests_dnstap_file.py
index 57e0216ab8..6a10aaef56 100644
--- a/bin/tests/system/dnstap/tests_dnstap_file.py
+++ b/bin/tests/system/dnstap/tests_dnstap_file.py
@@ -27,7 +27,6 @@ from dnstap.common import ARTIFACTS, check_counts, dnstap_read, query
 from isctest.util import param

 import isctest
-import isctest.mark

 pytestmark = [
     isctest.mark.with_dnstap,
diff --git a/bin/tests/system/dnstap/tests_dnstap_unix.py b/bin/tests/system/dnstap/tests_dnstap_unix.py
index 86b7b460a9..11a4848c89 100644
--- a/bin/tests/system/dnstap/tests_dnstap_unix.py
+++ b/bin/tests/system/dnstap/tests_dnstap_unix.py
@@ -26,7 +26,6 @@ import pytest
 from dnstap.common import ARTIFACTS, check_counts, query

 import isctest
-import isctest.mark

 pytestmark = [
     isctest.mark.with_dnstap,
diff --git a/bin/tests/system/doth/tests_cache_control.py b/bin/tests/system/doth/tests_cache_control.py
index 77490ac9fa..392a449937 100644
--- a/bin/tests/system/doth/tests_cache_control.py
+++ b/bin/tests/system/doth/tests_cache_control.py
@@ -14,7 +14,6 @@ import base64
 import dns.message

 import isctest
-import isctest.mark

 pytestmark = [
     isctest.mark.with_curl,
diff --git a/bin/tests/system/doth/tests_gnutls.py b/bin/tests/system/doth/tests_gnutls.py
index 0b38269e78..49a2e1c598 100644
--- a/bin/tests/system/doth/tests_gnutls.py
+++ b/bin/tests/system/doth/tests_gnutls.py
@@ -21,7 +21,6 @@ import dns.rdatatype
 import pytest

 import isctest
-import isctest.mark

 EXTRA_ARTIFACTS = pytest.mark.extra_artifacts(
     [
diff --git a/bin/tests/system/doth/tests_malicious.py b/bin/tests/system/doth/tests_malicious.py
index ad7a377d7b..baee3768ba 100644
--- a/bin/tests/system/doth/tests_malicious.py
+++ b/bin/tests/system/doth/tests_malicious.py
@@ -18,7 +18,7 @@ from h2.settings import SettingCodes
 import dns.message
 import dns.query

-import isctest.mark
+import isctest

 pytestmark = [
     isctest.mark.with_libnghttp2,
diff --git a/bin/tests/system/doth/tests_sh_doth.py b/bin/tests/system/doth/tests_sh_doth.py
index fa3c57efc7..51e73bc08a 100644
--- a/bin/tests/system/doth/tests_sh_doth.py
+++ b/bin/tests/system/doth/tests_sh_doth.py
@@ -11,7 +11,7 @@

 import pytest

-import isctest.mark
+import isctest

 EXTRA_ARTIFACTS = pytest.mark.extra_artifacts(
     [
diff --git a/bin/tests/system/doth/tests_sslyze.py b/bin/tests/system/doth/tests_sslyze.py
index c58c4ea64c..c57df1f6dd 100644
--- a/bin/tests/system/doth/tests_sslyze.py
+++ b/bin/tests/system/doth/tests_sslyze.py
@@ -16,7 +16,6 @@ import subprocess
 import pytest

 import isctest
-import isctest.mark

 EXTRA_ARTIFACTS = pytest.mark.extra_artifacts(
     [
diff --git a/bin/tests/system/dyndb/tests_sh_dyndb.py b/bin/tests/system/dyndb/tests_sh_dyndb.py
index 4ebec03663..682320dd4c 100644
--- a/bin/tests/system/dyndb/tests_sh_dyndb.py
+++ b/bin/tests/system/dyndb/tests_sh_dyndb.py
@@ -11,7 +11,7 @@

 import pytest

-import isctest.mark
+import isctest

 EXTRA_ARTIFACTS = pytest.mark.extra_artifacts(
     [
diff --git a/bin/tests/system/eddsa/tests_sh_eddsa.py b/bin/tests/system/eddsa/tests_sh_eddsa.py
index 3948cb94cc..d274be749f 100644
--- a/bin/tests/system/eddsa/tests_sh_eddsa.py
+++ b/bin/tests/system/eddsa/tests_sh_eddsa.py
@@ -11,7 +11,7 @@

 import pytest

-import isctest.mark
+import isctest

 EXTRA_ARTIFACTS = pytest.mark.extra_artifacts(
     [
diff --git a/bin/tests/system/enginepkcs11/tests_sh_enginepkcs11.py b/bin/tests/system/enginepkcs11/tests_sh_enginepkcs11.py
index 281ba9e653..feba058138 100644
--- a/bin/tests/system/enginepkcs11/tests_sh_enginepkcs11.py
+++ b/bin/tests/system/enginepkcs11/tests_sh_enginepkcs11.py
@@ -22,8 +22,6 @@ import dns.update
 import pytest

 import isctest
-import isctest.mark
-import isctest.template

 EXTRA_ARTIFACTS = pytest.mark.extra_artifacts(
     [
diff --git a/bin/tests/system/filters/tests_filter_a_v4.py b/bin/tests/system/filters/tests_filter_a_v4.py
index 3a59dcdded..79e390c7df 100644
--- a/bin/tests/system/filters/tests_filter_a_v4.py
+++ b/bin/tests/system/filters/tests_filter_a_v4.py
@@ -18,7 +18,7 @@ from filters.common import (
     prime_cache,
 )

-import isctest.mark
+import isctest

 pytestmark = pytest.mark.extra_artifacts(ARTIFACTS)

diff --git a/bin/tests/system/filters/tests_filter_a_v6.py b/bin/tests/system/filters/tests_filter_a_v6.py
index 1c0cd0e9c0..30de9778ea 100644
--- a/bin/tests/system/filters/tests_filter_a_v6.py
+++ b/bin/tests/system/filters/tests_filter_a_v6.py
@@ -18,7 +18,7 @@ from filters.common import (
     prime_cache,
 )

-import isctest.mark
+import isctest

 pytestmark = pytest.mark.extra_artifacts(ARTIFACTS)

diff --git a/bin/tests/system/filters/tests_filter_aaaa_v4.py b/bin/tests/system/filters/tests_filter_aaaa_v4.py
index 74b4ac324d..68ca0a5361 100644
--- a/bin/tests/system/filters/tests_filter_aaaa_v4.py
+++ b/bin/tests/system/filters/tests_filter_aaaa_v4.py
@@ -18,7 +18,7 @@ from filters.common import (
     prime_cache,
 )

-import isctest.mark
+import isctest

 pytestmark = pytest.mark.extra_artifacts(ARTIFACTS)

diff --git a/bin/tests/system/filters/tests_filter_aaaa_v6.py b/bin/tests/system/filters/tests_filter_aaaa_v6.py
index 1360979318..24f93e23ba 100644
--- a/bin/tests/system/filters/tests_filter_aaaa_v6.py
+++ b/bin/tests/system/filters/tests_filter_aaaa_v6.py
@@ -18,7 +18,7 @@ from filters.common import (
     prime_cache,
 )

-import isctest.mark
+import isctest

 pytestmark = pytest.mark.extra_artifacts(ARTIFACTS)

diff --git a/bin/tests/system/geoip2/tests_sh_geoip2.py b/bin/tests/system/geoip2/tests_sh_geoip2.py
index 9d363fa005..7f6eceb39b 100644
--- a/bin/tests/system/geoip2/tests_sh_geoip2.py
+++ b/bin/tests/system/geoip2/tests_sh_geoip2.py
@@ -11,7 +11,7 @@

 import pytest

-import isctest.mark
+import isctest

 EXTRA_ARTIFACTS = pytest.mark.extra_artifacts(
     [
diff --git a/bin/tests/system/isctest/asyncserver/tests/dnssec/tests_empty_non_terminal.py b/bin/tests/system/isctest/asyncserver/tests/dnssec/tests_empty_non_terminal.py
index 73c1d3f3f7..8b8ef486ff 100644
--- a/bin/tests/system/isctest/asyncserver/tests/dnssec/tests_empty_non_terminal.py
+++ b/bin/tests/system/isctest/asyncserver/tests/dnssec/tests_empty_non_terminal.py
@@ -39,7 +39,6 @@ import pytest
 from isctest.template import ANS1, NS2

 import isctest
-import isctest.zone

 pytestmark = [
     pytest.mark.asyncserver_test,
diff --git a/bin/tests/system/isctest/tests/tests_zone_analyzer.py b/bin/tests/system/isctest/tests/tests_zone_analyzer.py
index d1737c6b46..b60d8b7909 100644
--- a/bin/tests/system/isctest/tests/tests_zone_analyzer.py
+++ b/bin/tests/system/isctest/tests/tests_zone_analyzer.py
@@ -24,7 +24,7 @@ from dns.name import Name
 import dns.name
 import pytest

-import isctest.name
+import isctest

 # set of properies present in the tested zone - read by tests_zone_analyzer.py
 CATEGORIES = frozenset(
diff --git a/bin/tests/system/kasp/tests_kasp.py b/bin/tests/system/kasp/tests_kasp.py
index 4a46097191..8a466e27cf 100644
--- a/bin/tests/system/kasp/tests_kasp.py
+++ b/bin/tests/system/kasp/tests_kasp.py
@@ -30,7 +30,6 @@ from isctest.kasp import KeyProperties, KeyTimingMetadata, SettimeOptions
 from isctest.util import newer_mtime, param

 import isctest
-import isctest.mark

 pytestmark = pytest.mark.extra_artifacts(
     [
diff --git a/bin/tests/system/keyfromlabel/tests_keyfromlabel.py b/bin/tests/system/keyfromlabel/tests_keyfromlabel.py
index a67d1a9b93..3abae57a33 100644
--- a/bin/tests/system/keyfromlabel/tests_keyfromlabel.py
+++ b/bin/tests/system/keyfromlabel/tests_keyfromlabel.py
@@ -20,7 +20,7 @@ import pytest

 from isctest.util import param

-import isctest.mark
+import isctest

 pytestmark = [
     isctest.mark.kryoptic_environment,
diff --git a/bin/tests/system/mldsa/tests_mldsa.py b/bin/tests/system/mldsa/tests_mldsa.py
index 91bf34784b..e26262a67c 100644
--- a/bin/tests/system/mldsa/tests_mldsa.py
+++ b/bin/tests/system/mldsa/tests_mldsa.py
@@ -25,7 +25,6 @@ from isctest.template import NS1, zones
 from isctest.zone import FileZoneKey, Zone

 import isctest
-import isctest.mark

 pytestmark = [
     isctest.mark.with_algorithm("MLDSA44"),
diff --git a/bin/tests/system/ncache/tests_ncache_cd.py b/bin/tests/system/ncache/tests_ncache_cd.py
index 799902f03c..79a5d99e48 100644
--- a/bin/tests/system/ncache/tests_ncache_cd.py
+++ b/bin/tests/system/ncache/tests_ncache_cd.py
@@ -14,8 +14,6 @@ import concurrent.futures
 import pytest

 import isctest
-import isctest.template
-import isctest.zone

 NAME = "nodata.example."

diff --git a/bin/tests/system/nsec3/tests_nsec3_initial.py b/bin/tests/system/nsec3/tests_nsec3_initial.py
index d634e384d5..19803ff697 100644
--- a/bin/tests/system/nsec3/tests_nsec3_initial.py
+++ b/bin/tests/system/nsec3/tests_nsec3_initial.py
@@ -27,7 +27,6 @@ from nsec3.common import (
 )

 import isctest
-import isctest.mark

 pytestmark = NSEC3_MARK

diff --git a/bin/tests/system/nsec3/tests_nsec3_length.py b/bin/tests/system/nsec3/tests_nsec3_length.py
index c8b44e4dc9..1b916e17d5 100644
--- a/bin/tests/system/nsec3/tests_nsec3_length.py
+++ b/bin/tests/system/nsec3/tests_nsec3_length.py
@@ -14,7 +14,6 @@
 import dns.message

 import isctest
-import isctest.mark

 pytestmark = isctest.mark.with_ecdsa_deterministic

diff --git a/bin/tests/system/nsec3/tests_nsec3_reconfig.py b/bin/tests/system/nsec3/tests_nsec3_reconfig.py
index 27d7736339..2675fd6511 100644
--- a/bin/tests/system/nsec3/tests_nsec3_reconfig.py
+++ b/bin/tests/system/nsec3/tests_nsec3_reconfig.py
@@ -26,7 +26,6 @@ from nsec3.common import (
 )

 import isctest
-import isctest.mark

 pytestmark = NSEC3_MARK

diff --git a/bin/tests/system/nsec3_impersonation/tests_nsec3_impersonation.py b/bin/tests/system/nsec3_impersonation/tests_nsec3_impersonation.py
index 1b6e72fda7..4a1755e061 100644
--- a/bin/tests/system/nsec3_impersonation/tests_nsec3_impersonation.py
+++ b/bin/tests/system/nsec3_impersonation/tests_nsec3_impersonation.py
@@ -16,9 +16,6 @@ import dns.rdatatype
 import pytest

 import isctest
-import isctest.mark
-import isctest.template
-import isctest.zone

 APEX_HASH = dns.dnssec.nsec3_hash("tld.test.", None, 0, 1)
 ATTACKER = f"{APEX_HASH.lower()}.tld.test."
diff --git a/bin/tests/system/nsec_grandparent/tests_nsec_grandparent.py b/bin/tests/system/nsec_grandparent/tests_nsec_grandparent.py
index def9f26f2c..49934eb29b 100644
--- a/bin/tests/system/nsec_grandparent/tests_nsec_grandparent.py
+++ b/bin/tests/system/nsec_grandparent/tests_nsec_grandparent.py
@@ -15,9 +15,6 @@ import dns.rdatatype
 import pytest

 import isctest
-import isctest.mark
-import isctest.template
-import isctest.zone

 PARENT = "p031.test."
 CHILD = f"c.{PARENT}"
diff --git a/bin/tests/system/nsec_piggyback/tests_nsec_piggyback.py b/bin/tests/system/nsec_piggyback/tests_nsec_piggyback.py
index 5ea5fe0559..8815e08996 100644
--- a/bin/tests/system/nsec_piggyback/tests_nsec_piggyback.py
+++ b/bin/tests/system/nsec_piggyback/tests_nsec_piggyback.py
@@ -14,9 +14,6 @@ import dns.rdatatype
 import pytest

 import isctest
-import isctest.mark
-import isctest.template
-import isctest.zone

 PARENT = "p22.hack."
 CHILD = f"child.{PARENT}"
diff --git a/bin/tests/system/nsec_synthesis/common.py b/bin/tests/system/nsec_synthesis/common.py
index 120b4e3e0f..83ce52be92 100644
--- a/bin/tests/system/nsec_synthesis/common.py
+++ b/bin/tests/system/nsec_synthesis/common.py
@@ -15,8 +15,6 @@ import dns.rdatatype
 import pytest

 import isctest
-import isctest.template
-import isctest.zone

 ARTIFACTS = pytest.mark.extra_artifacts(
     [
diff --git a/bin/tests/system/nsec_synthesis/conftest.py b/bin/tests/system/nsec_synthesis/conftest.py
index b561665bb3..32f2044591 100644
--- a/bin/tests/system/nsec_synthesis/conftest.py
+++ b/bin/tests/system/nsec_synthesis/conftest.py
@@ -17,8 +17,7 @@ import pytest

 from nsec_synthesis.common import F004_ZONE, F023_ZONE

-import isctest.template
-import isctest.zone
+import isctest


 def zone_key_tags(zone):
diff --git a/bin/tests/system/nsec_synthesis/tests_nsec_child_next.py b/bin/tests/system/nsec_synthesis/tests_nsec_child_next.py
index 472e3317fe..b7bb1bb574 100644
--- a/bin/tests/system/nsec_synthesis/tests_nsec_child_next.py
+++ b/bin/tests/system/nsec_synthesis/tests_nsec_child_next.py
@@ -20,9 +20,6 @@ from nsec_synthesis.common import (
 )

 import isctest
-import isctest.mark
-import isctest.template
-import isctest.zone

 EVIL = f"evil.{F023_ZONE}"
 POISON = f"0.{EVIL}"
diff --git a/bin/tests/system/nsec_synthesis/tests_nsec_exact_nodata.py b/bin/tests/system/nsec_synthesis/tests_nsec_exact_nodata.py
index 0dabead7db..c7e8027d4c 100644
--- a/bin/tests/system/nsec_synthesis/tests_nsec_exact_nodata.py
+++ b/bin/tests/system/nsec_synthesis/tests_nsec_exact_nodata.py
@@ -21,7 +21,6 @@ from nsec_synthesis.common import (
 )

 import isctest
-import isctest.mark

 POISON_NEXT = f"z.{F004_ZONE}"

diff --git a/bin/tests/system/nsec_synthesis/tests_nsec_pending_cd.py b/bin/tests/system/nsec_synthesis/tests_nsec_pending_cd.py
index 4c9c8468b2..fc9c2637fa 100644
--- a/bin/tests/system/nsec_synthesis/tests_nsec_pending_cd.py
+++ b/bin/tests/system/nsec_synthesis/tests_nsec_pending_cd.py
@@ -21,7 +21,6 @@ from nsec_synthesis.common import (
 )

 import isctest
-import isctest.mark

 ATTACKER = f"attacker.{F004_ZONE}"
 POISON_NEXT = f"b.{F004_VICTIM}"
diff --git a/bin/tests/system/nsec_synthesis/tests_nsec_selfloop.py b/bin/tests/system/nsec_synthesis/tests_nsec_selfloop.py
index d9b55476fb..80d2233be5 100644
--- a/bin/tests/system/nsec_synthesis/tests_nsec_selfloop.py
+++ b/bin/tests/system/nsec_synthesis/tests_nsec_selfloop.py
@@ -12,8 +12,6 @@
 from nsec_synthesis.common import ARTIFACTS, check_nsec, get_nsec, has_a

 import isctest
-import isctest.template
-import isctest.zone

 PARENT = "f007.test."
 CHILD = "!.f007.test."
diff --git a/bin/tests/system/nsec_wildcard_wrong_zone/tests_nsec_wildcard_wrong_zone.py b/bin/tests/system/nsec_wildcard_wrong_zone/tests_nsec_wildcard_wrong_zone.py
index 6dc2914166..74539b12e9 100644
--- a/bin/tests/system/nsec_wildcard_wrong_zone/tests_nsec_wildcard_wrong_zone.py
+++ b/bin/tests/system/nsec_wildcard_wrong_zone/tests_nsec_wildcard_wrong_zone.py
@@ -15,8 +15,6 @@ import dns.rdatatype
 import pytest

 import isctest
-import isctest.template
-import isctest.zone

 VICTIM = "victim.example."
 ATTACKER = "abc.example."
diff --git a/bin/tests/system/nslimit_outdomain/tests_nslimit_outdomain.py b/bin/tests/system/nslimit_outdomain/tests_nslimit_outdomain.py
index 68140346ef..2e86b3fd19 100644
--- a/bin/tests/system/nslimit_outdomain/tests_nslimit_outdomain.py
+++ b/bin/tests/system/nslimit_outdomain/tests_nslimit_outdomain.py
@@ -12,7 +12,6 @@
 import os

 import isctest
-import isctest.mark

 pytestmark = [isctest.mark.with_dnstap]

diff --git a/bin/tests/system/nsprocessinglimit/tests_nsprocessinglimit.py b/bin/tests/system/nsprocessinglimit/tests_nsprocessinglimit.py
index 3a34b05c6f..f07e01bbf9 100644
--- a/bin/tests/system/nsprocessinglimit/tests_nsprocessinglimit.py
+++ b/bin/tests/system/nsprocessinglimit/tests_nsprocessinglimit.py
@@ -14,7 +14,6 @@ import os
 import pytest

 import isctest
-import isctest.mark

 pytestmark = [isctest.mark.with_dnstap]

diff --git a/bin/tests/system/nsupdate/tests_sh_nsupdate.py b/bin/tests/system/nsupdate/tests_sh_nsupdate.py
index e8163a00b1..7fc8b6d1a7 100644
--- a/bin/tests/system/nsupdate/tests_sh_nsupdate.py
+++ b/bin/tests/system/nsupdate/tests_sh_nsupdate.py
@@ -13,7 +13,7 @@ import platform

 import pytest

-import isctest.mark
+import isctest

 EXTRA_ARTIFACTS = pytest.mark.extra_artifacts(
     [
diff --git a/bin/tests/system/nzd2nzf/tests_nzd2nzf.py b/bin/tests/system/nzd2nzf/tests_nzd2nzf.py
index d50c2990f5..955aaae12e 100644
--- a/bin/tests/system/nzd2nzf/tests_nzd2nzf.py
+++ b/bin/tests/system/nzd2nzf/tests_nzd2nzf.py
@@ -14,7 +14,6 @@ import os
 import pytest

 import isctest
-import isctest.run

 pytestmark = [
     pytest.mark.extra_artifacts(
diff --git a/bin/tests/system/proxy/tests_sh_proxy.py b/bin/tests/system/proxy/tests_sh_proxy.py
index f64fc2d09b..bf8284273e 100644
--- a/bin/tests/system/proxy/tests_sh_proxy.py
+++ b/bin/tests/system/proxy/tests_sh_proxy.py
@@ -11,7 +11,7 @@

 import pytest

-import isctest.mark
+import isctest

 EXTRA_ARTIFACTS = pytest.mark.extra_artifacts(
     [
diff --git a/bin/tests/system/reclimit/tests_sh_reclimit.py b/bin/tests/system/reclimit/tests_sh_reclimit.py
index 06c359673f..4194a3130f 100644
--- a/bin/tests/system/reclimit/tests_sh_reclimit.py
+++ b/bin/tests/system/reclimit/tests_sh_reclimit.py
@@ -11,7 +11,7 @@

 import pytest

-import isctest.mark
+import isctest

 EXTRA_ARTIFACTS = pytest.mark.extra_artifacts(
     [
diff --git a/bin/tests/system/selfpointedglue/tests_selfpointedglue.py b/bin/tests/system/selfpointedglue/tests_selfpointedglue.py
index 468031f143..e211d28506 100644
--- a/bin/tests/system/selfpointedglue/tests_selfpointedglue.py
+++ b/bin/tests/system/selfpointedglue/tests_selfpointedglue.py
@@ -12,7 +12,6 @@
 import os

 import isctest
-import isctest.mark

 pytestmark = [isctest.mark.with_dnstap]

diff --git a/bin/tests/system/sig0_https/tests_sig0_https.py b/bin/tests/system/sig0_https/tests_sig0_https.py
index 9589957bd1..7775ea0e15 100644
--- a/bin/tests/system/sig0_https/tests_sig0_https.py
+++ b/bin/tests/system/sig0_https/tests_sig0_https.py
@@ -23,7 +23,7 @@ import dns.rdataclass
 import dns.rdatatype
 import dns.rrset

-import isctest.mark
+import isctest

 pytestmark = [isctest.mark.with_libnghttp2]

diff --git a/bin/tests/system/srtt/tests_srtt.py b/bin/tests/system/srtt/tests_srtt.py
index 7ec84836b0..2bfd30365a 100644
--- a/bin/tests/system/srtt/tests_srtt.py
+++ b/bin/tests/system/srtt/tests_srtt.py
@@ -12,7 +12,6 @@
 import os

 import isctest
-import isctest.mark

 pytestmark = [isctest.mark.with_dnstap]

diff --git a/bin/tests/system/statschannel/tests_json.py b/bin/tests/system/statschannel/tests_json.py
index 28523b3ded..127307ab76 100644
--- a/bin/tests/system/statschannel/tests_json.py
+++ b/bin/tests/system/statschannel/tests_json.py
@@ -14,7 +14,7 @@ from datetime import datetime
 import pytest
 import requests

-import isctest.mark
+import isctest

 from . import generic

diff --git a/bin/tests/system/statschannel/tests_sh_statschannel.py b/bin/tests/system/statschannel/tests_sh_statschannel.py
index f1a70c76d7..faa40efdb1 100644
--- a/bin/tests/system/statschannel/tests_sh_statschannel.py
+++ b/bin/tests/system/statschannel/tests_sh_statschannel.py
@@ -11,7 +11,7 @@

 import pytest

-import isctest.mark
+import isctest

 EXTRA_ARTIFACTS = pytest.mark.extra_artifacts(
     [
diff --git a/bin/tests/system/statschannel/tests_xml.py b/bin/tests/system/statschannel/tests_xml.py
index c80a4b5bce..7015f10251 100644
--- a/bin/tests/system/statschannel/tests_xml.py
+++ b/bin/tests/system/statschannel/tests_xml.py
@@ -16,7 +16,7 @@ import xml.etree.ElementTree as ET
 import pytest
 import requests

-import isctest.mark
+import isctest

 from . import generic

diff --git a/bin/tests/system/timeouts/tests_tcp_timeouts.py b/bin/tests/system/timeouts/tests_tcp_timeouts.py
index 27923c2382..8ed70d84ad 100644
--- a/bin/tests/system/timeouts/tests_tcp_timeouts.py
+++ b/bin/tests/system/timeouts/tests_tcp_timeouts.py
@@ -21,7 +21,7 @@ import dns.rdataclass
 import dns.rdatatype
 import pytest

-import isctest.mark
+import isctest

 pytestmark = pytest.mark.extra_artifacts(
     [
diff --git a/bin/tests/system/tkeyleak/tests_tkeyleak.py b/bin/tests/system/tkeyleak/tests_tkeyleak.py
index 876fdbd39a..473afa441f 100644
--- a/bin/tests/system/tkeyleak/tests_tkeyleak.py
+++ b/bin/tests/system/tkeyleak/tests_tkeyleak.py
@@ -38,7 +38,6 @@ import dns.rdtypes.ANY.TKEY
 import pytest

 import isctest
-import isctest.mark

 EXTRA_ARTIFACTS = pytest.mark.extra_artifacts(
     [
diff --git a/bin/tests/system/tools/tests_tools_named_root_hints.py b/bin/tests/system/tools/tests_tools_named_root_hints.py
index 20404a2dee..2f4513fdfd 100644
--- a/bin/tests/system/tools/tests_tools_named_root_hints.py
+++ b/bin/tests/system/tools/tests_tools_named_root_hints.py
@@ -12,7 +12,6 @@
 import requests

 import isctest
-import isctest.mark

 pytestmark = [isctest.mark.live_internet_test]

diff --git a/bin/tests/system/transport_change/tests_sh_transport_change.py b/bin/tests/system/transport_change/tests_sh_transport_change.py
index 4ac91989ba..3d7210cbf3 100644
--- a/bin/tests/system/transport_change/tests_sh_transport_change.py
+++ b/bin/tests/system/transport_change/tests_sh_transport_change.py
@@ -11,7 +11,7 @@

 import pytest

-import isctest.mark
+import isctest

 EXTRA_ARTIFACTS = pytest.mark.extra_artifacts(
     [
diff --git a/bin/tests/system/tsiggss/tests_gss_context.py b/bin/tests/system/tsiggss/tests_gss_context.py
index 829c48ab98..500bdb18f1 100644
--- a/bin/tests/system/tsiggss/tests_gss_context.py
+++ b/bin/tests/system/tsiggss/tests_gss_context.py
@@ -30,7 +30,7 @@ import dns.rrset
 import dns.tsig
 import pytest

-import isctest.mark
+import isctest

 gssapi = pytest.importorskip("gssapi")
 pytestmark = [
diff --git a/bin/tests/system/tsiggss/tests_isc_spnego_flaws.py b/bin/tests/system/tsiggss/tests_isc_spnego_flaws.py
index e35a276ec4..940b19b13c 100644
--- a/bin/tests/system/tsiggss/tests_isc_spnego_flaws.py
+++ b/bin/tests/system/tsiggss/tests_isc_spnego_flaws.py
@@ -26,7 +26,6 @@ import dns.tsig
 import pytest

 import isctest
-import isctest.mark

 EXTRA_ARTIFACTS = pytest.mark.extra_artifacts(
     [
diff --git a/bin/tests/system/tsiggss/tests_sh_tsiggss.py b/bin/tests/system/tsiggss/tests_sh_tsiggss.py
index b21bfe7108..2a45e4a920 100644
--- a/bin/tests/system/tsiggss/tests_sh_tsiggss.py
+++ b/bin/tests/system/tsiggss/tests_sh_tsiggss.py
@@ -11,7 +11,7 @@

 import pytest

-import isctest.mark
+import isctest

 EXTRA_ARTIFACTS = pytest.mark.extra_artifacts(
     [
diff --git a/bin/tests/system/tsiggss/tests_tkey_duplicate.py b/bin/tests/system/tsiggss/tests_tkey_duplicate.py
index 38a9a5dbb4..2d56490a55 100644
--- a/bin/tests/system/tsiggss/tests_tkey_duplicate.py
+++ b/bin/tests/system/tsiggss/tests_tkey_duplicate.py
@@ -27,7 +27,6 @@ import subprocess
 import pytest

 import isctest
-import isctest.mark

 EXTRA_ARTIFACTS = pytest.mark.extra_artifacts(
     [
diff --git a/bin/tests/system/wildcard/tests_wildcard.py b/bin/tests/system/wildcard/tests_wildcard.py
index 0d2e34c3f0..8c37c27233 100644
--- a/bin/tests/system/wildcard/tests_wildcard.py
+++ b/bin/tests/system/wildcard/tests_wildcard.py
@@ -39,9 +39,7 @@ import pytest

 from isctest.hypothesis.strategies import dns_names, dns_rdatatypes_without_meta

-import isctest.check
-import isctest.name
-import isctest.query
+import isctest

 pytestmark = pytest.mark.extra_artifacts(
     [