]> git.ipfire.org Git - thirdparty/bind9.git/commit
Add module-specific python setup to system tests
authorNicki Křížek <nicki@isc.org>
Wed, 10 Sep 2025 09:09:41 +0000 (11:09 +0200)
committerNicki Křížek <nicki@isc.org>
Tue, 21 Oct 2025 14:26:38 +0000 (16:26 +0200)
commit9fa7d6d86539ff93fca8d336282984dab169512b
treed41bf4eff63ebf703cf9ee2d7b6660c55e18b4db
parent5cc67357b2242987c098e6ae75d6bcd04af65240
Add module-specific python setup to system tests

During the system test execution, allow use of module-specific
bootstrap() function in addition to the setup.sh script which this
function should ultimately replace.

The purpose of bootstrap() 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.

(cherry picked from commit 7474d3829513d90370e6792dc9ceb68a6738328c)
.gitlab-ci.yml
bin/tests/system/conftest.py
bin/tests/system/isctest/template.py