]> git.ipfire.org Git - thirdparty/bind9.git/commit
Add utility logging functions to isctest.log
authorTom Krizek <tkrizek@isc.org>
Thu, 15 Feb 2024 13:47:13 +0000 (14:47 +0100)
committerTom Krizek <tkrizek@isc.org>
Fri, 16 Feb 2024 13:56:00 +0000 (14:56 +0100)
commitc60975f1084cef8e3cf2f78bbbfba3aafb7bca07
tree1b6ba74e3a1e955662f4a9a9faa3248a243687f7
parent52f9e6f55759ae86925c7d66c3dfa1621096e06c
Add utility logging functions to isctest.log

Unify the different loggers (conftest, module, test) into a single
interface. Remove the need to select the proper logger by automatically
selecting the most-specific logger currently available.

This also removes the need to use the logger/mlogger fixtures manually
and pass these around. This was especially annoying and unwieldy when
splitting the test cases into functions, because logger had to always be
passed around. Instead, it is now possible to use the
isctest.log.(debug,info,warning,error) functions.
bin/tests/system/README.md
bin/tests/system/conftest.py
bin/tests/system/isctest/instance.py
bin/tests/system/isctest/log/__init__.py
bin/tests/system/isctest/log/basic.py [new file with mode: 0644]
bin/tests/system/stress/tests_stress_update.py