]> git.ipfire.org Git - thirdparty/bind9.git/commit
Run custom servers as Python modules
authorŠtěpán Balážik <stepan@isc.org>
Tue, 27 Jan 2026 20:29:07 +0000 (21:29 +0100)
committerŠtěpán Balážik <stepan@isc.org>
Wed, 25 Feb 2026 12:15:05 +0000 (13:15 +0100)
commitd7f6f258f7e7fe9aaa08376a6cd2c8ac08cb3228
treebd8ef4a7a95dd0b7ecbe209b5b20145df4cfea3b
parent68fb2312948f97a4336397ecee3f9a5d5110e7ad
Run custom servers as Python modules

Use `python -m` for running the custom servers.

This allows the use of relative imports in the server modules and in
turn linting the modules.

(cherry picked from commit 407df9599c56031163182896cd2f8e36df01223a)
12 files changed:
bin/tests/system/bailiwick/ans1/ans.py
bin/tests/system/bailiwick/ans2/ans.py
bin/tests/system/cookie/ans10/ans.py
bin/tests/system/cookie/ans9/ans.py
bin/tests/system/qmin/ans2/ans.py
bin/tests/system/qmin/ans3/ans.py
bin/tests/system/qmin/ans4/ans.py
bin/tests/system/resolver/ans10/ans.py
bin/tests/system/resolver/ans2/ans.py
bin/tests/system/resolver/ans3/ans.py
bin/tests/system/resolver/ans8/ans.py
bin/tests/system/start.pl