]> git.ipfire.org Git - thirdparty/bind9.git/commit
chg: test: Improve pytest jinja2 templates
authorNicki Křížek <nicki@isc.org>
Wed, 27 May 2026 15:54:34 +0000 (17:54 +0200)
committerNicki Křížek <nicki@isc.org>
Wed, 27 May 2026 15:54:34 +0000 (17:54 +0200)
commit67bf433c0f6e4b3aadf925f662ced5f87d3ad244
tree3ffa437d6673c9aa86a5d360e1a6f3cd8649d066
parenta97e5c30311d2fae97e28c51aabca20a174fdec6
parentc2c2be9be0481eb8966884bb33c0153e58e1800f
chg: test: Improve pytest jinja2 templates

- Enable rendering ns-specific data in jinja2 templates using the `ns` varible.
- Add common zone/config snippets an `_common` templates.
- Allow jinja2 imports from `_common`.
- Improve the `_common/controls.conf.j2` snippet to render ns-specific IP rather than hardocded one.

Merge branch 'nicki/pytest-template-improvements' into 'main'

See merge request isc-projects/bind9!11805