]> git.ipfire.org Git - thirdparty/bind9.git/commit
Use Re() for creating regular expressions
authorNicki Křížek <nicki@isc.org>
Thu, 2 Oct 2025 09:47:56 +0000 (11:47 +0200)
committerNicki Křížek <nicki@isc.org>
Mon, 8 Dec 2025 13:57:47 +0000 (14:57 +0100)
commitac7127d620614ccf54237e42c299fc238da759d3
tree67e0575f1e1728e3d4d1ec1ca8d94bfa9b79fdae
parentac998da3f6c45073ea188763e7b9c84fa34e45ff
Use Re() for creating regular expressions

It's a fairly common pattern to use regular expression in our tests.
Instead of using the fairly verbose re.compile(), import that function
as Re() instead to allow for more brevity in the test syntax.
12 files changed:
bin/tests/system/cipher-suites/tests_cipher_suites.py
bin/tests/system/configloading/tests_configloading.py
bin/tests/system/conftest.py
bin/tests/system/dnssec/tests_signing.py
bin/tests/system/dnssec/tests_tat.py
bin/tests/system/dnssec/tests_validation_multiview.py
bin/tests/system/isctest/kasp.py
bin/tests/system/isctest/log/watchlog.py
bin/tests/system/isctest/vars/openssl.py
bin/tests/system/multisigner/tests_multisigner.py
bin/tests/system/xfer-servers-list/tests_xfer_servers_list.py
bin/tests/system/xferquota/tests_xferquota.py