]> 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 11:11:28 +0000 (13:11 +0200)
commit99b5d0251c2d771b5435fc622773261fd0183b7f
tree97a149d2db1dbbf05bd58fd18d5b35f79d77cbb6
parent4045e07c7fe5a6329b75acab1a50ac3369daf142
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.

(cherry picked from commit dcfb6c23da975427e73a21a77636b6f5afcfe5ac)
bin/tests/system/isctest/instance.py