]> git.ipfire.org Git - thirdparty/bind9.git/commit
[9.20] chg: test: Improve pytest jinja2 templates
authorNicki Křížek <nicki@isc.org>
Thu, 28 May 2026 12:14:33 +0000 (14:14 +0200)
committerNicki Křížek <nicki@isc.org>
Thu, 28 May 2026 12:14:33 +0000 (14:14 +0200)
commitc8d86d81607334a256346d6eddcb9155e8772d47
tree2f45b4dfc55b132fad8ced30dcca8c932ec39bac
parent8851b279d00a7d1150dcb5e963a65637eee2d03a
parent02de870059ede936f9120f311e643c81529c19c1
[9.20] 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.20' into 'bind-9.20'

See merge request isc-projects/bind9!12116