]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
new: test: Add module-specific python setup to system tests
authorNicki Křížek <nicki@isc.org>
Tue, 21 Oct 2025 14:04:30 +0000 (16:04 +0200)
committerNicki Křížek <nicki@isc.org>
Tue, 21 Oct 2025 14:04:30 +0000 (16:04 +0200)
During the system test execution, allow use of module-specific setup()
function in addition to the setup.sh script which this function should
ultimately replace.

The purpose of setup() is two-fold. First, it can execute any commands
needed to create the initial conditions for the test, such as creating
key materials, manipulating files etc. Second, it should return any
test-specific template values as a dictionary. Those will be used to
render the jinja2 templates.

Merge branch 'nicki/pytest-add-python-setup-func' into 'main'

See merge request isc-projects/bind9!10983


Trivial merge