]> git.ipfire.org Git - thirdparty/bind9.git/commit
[9.18] chg: test: Improve pytest jinja2 templates
authorNicki Křížek <nicki@isc.org>
Thu, 28 May 2026 14:52:56 +0000 (16:52 +0200)
committerNicki Křížek <nicki@isc.org>
Thu, 28 May 2026 14:52:56 +0000 (16:52 +0200)
commit61b65102ec2e042b4e55e986647b8fbcf215ce0e
tree1019d284bf9daa2efe283e8bcf069081c86fac97
parent517ec574516ea42653b2abe8f59296e724f40ded
parent476e65dc6ca21e8baa09511b8dbc007317406008
[9.18] 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.

Backport of MR !11805

Merge branch 'backport-nicki/pytest-template-improvements-9.18' into 'bind-9.18'

See merge request isc-projects/bind9!12117