]> git.ipfire.org Git - thirdparty/bind9.git/commit
Make default_algorithm accessible through a fixture and method
authorŠtěpán Balážik <stepan@isc.org>
Wed, 4 Feb 2026 17:17:17 +0000 (18:17 +0100)
committerŠtěpán Balážik <stepan@isc.org>
Fri, 20 Feb 2026 14:17:32 +0000 (15:17 +0100)
commitef21b779124e2edea914b75a1f7bbf963fbaafb4
treef9a8451cae27b4a26c60d9eaf32bc1a98be865dd
parent2b9c5ccd77ac47097bf364b2d3aa51ac9e183a28
Make default_algorithm accessible through a fixture and method

Importing pytest fixture trips up static analysis tools, so move
default_algorithm to conftest.py and use it instead of os.environ
accesses in various system tests.

For use outside test function, use Algorithm.default().
35 files changed:
bin/tests/system/conftest.py
bin/tests/system/dnssec/tests_signing.py
bin/tests/system/dnssec/tests_validation.py
bin/tests/system/dnssec/tests_validation_managed_keys.py
bin/tests/system/dnssec/tests_validation_multiview.py
bin/tests/system/isctest/vars/algorithms.py
bin/tests/system/kasp/tests_kasp.py
bin/tests/system/ksr/tests_ksr.py
bin/tests/system/migrate2kasp/tests_migrate2kasp.py
bin/tests/system/multisigner/tests_multisigner.py
bin/tests/system/nsec3/common.py
bin/tests/system/nsec3/tests_nsec3_change.py
bin/tests/system/nsec3/tests_nsec3_initial.py
bin/tests/system/nsec3/tests_nsec3_reconfig.py
bin/tests/system/nsec3/tests_nsec3_reload.py
bin/tests/system/nsec3/tests_nsec3_restart.py
bin/tests/system/rollover-algo-csk/tests_rollover_algo_csk_reconfig.py
bin/tests/system/rollover-algo-ksk-zsk/tests_rollover_algo_ksk_zsk_reconfig.py
bin/tests/system/rollover-csk-roll1/tests_rollover_csk_roll1.py
bin/tests/system/rollover-csk-roll2/tests_rollover_csk_roll2.py
bin/tests/system/rollover-dynamic2inline/tests_rollover_dynamic2inline.py
bin/tests/system/rollover-enable-dnssec/tests_rollover_enable_dnssec.py
bin/tests/system/rollover-going-insecure/tests_rollover_going_insecure_initial.py
bin/tests/system/rollover-going-insecure/tests_rollover_going_insecure_reconfig.py
bin/tests/system/rollover-ksk-3crowd/tests_rollover_three_is_a_crowd.py
bin/tests/system/rollover-ksk-doubleksk/tests_rollover_ksk_doubleksk.py
bin/tests/system/rollover-lifetime/tests_rollover_lifetime_initial.py
bin/tests/system/rollover-lifetime/tests_rollover_lifetime_reconfig.py
bin/tests/system/rollover-multisigner/tests_rollover_multisigner.py
bin/tests/system/rollover-straight2none/tests_rollover_straight2none_initial.py
bin/tests/system/rollover-straight2none/tests_rollover_straight2none_reconfig.py
bin/tests/system/rollover-zsk-prepub/tests_rollover_zsk_prepublication.py
bin/tests/system/rollover/common.py
bin/tests/system/rollover/setup.py
bin/tests/system/rollover/tests_rollover_manual.py