]> git.ipfire.org Git - thirdparty/bind9.git/commit
Change NamedInstance.rndc() doctest into doc example
authorNicki Křížek <nicki@isc.org>
Mon, 23 Jun 2025 15:36:08 +0000 (17:36 +0200)
committerNicki Křížek <nicki@isc.org>
Fri, 18 Jul 2025 09:32:41 +0000 (11:32 +0200)
commitdcfb6c23da975427e73a21a77636b6f5afcfe5ac
tree93211da18653f7cbe5f508558b6d04e5aaf796ea
parentee782fb4b1ea17f3b01dc6d549481116409141bc
Change NamedInstance.rndc() doctest into doc example

The test is troublesome, because NamedInstance(identifier) expects that
a directory with such a name exists. While it'd be possible to mock
those directories as well, it'd make the doctest overly long and
complex, which isn't justified, given that it's only testing a couple of
options. Turn it into regular documentation instead.
bin/tests/system/isctest/instance.py