Commit 7ca181e81a for bind
commit 7ca181e81af1cadaeb19c01cda295ba400939f7e
Merge: 2a1416b099 da02792b9b
Author: Nicki Křížek <nicki@isc.org>
Date: Fri Dec 4 17:04:04 2026 +0100
chg: test: Load the isctest submodules on first use
The import of the isctest package also imported all its submodules.
These submodules import dnspython, hypothesis and the cryptography
bindings. This took approximately 0.2 seconds. A tests.sh script
starts each standalone tool (python -m isctest.tools.<name>) as a new
process. Each call took this much time, but the tools do not use the
submodules.
The package now imports a submodule when the caller uses it for the
first time. conftest.py imports isctest.hypothesis explicitly,
because this import selects the hypothesis profile.
isctest.text is now in the list of submodules. Some tests use it and
do not import it. This was possible only because isctest.log
imported it.
Merge branch 'nicki/lazy-isctest-imports' into 'main'
See merge request isc-projects/bind9!13139