]> git.ipfire.org Git - thirdparty/bind9.git/commit
Convert kasp dnssectools tests to pytest
authorMatthijs Mekking <matthijs@isc.org>
Fri, 14 Mar 2025 11:19:36 +0000 (12:19 +0100)
committerMatthijs Mekking <matthijs@isc.org>
Thu, 17 Apr 2025 11:50:49 +0000 (13:50 +0200)
commit00ea2c256482f334e3bd9ed52f20cc3a6a53660f
treed7795441321983850dd198a210fc521164aa18b3
parent3a38a5fcad2e8ae5b2804209eab92f567cd4f0cd
Convert kasp dnssectools tests to pytest

Convert the first couple of tests from 'kasp/tests.sh' to
'kasp/tests_kasp.py', those are test cases related to 'dnssec-keygen'
and 'dnssec-settime'.

For this, we also add a new KeyProperties method,
'policy_to_properties', that takes a list of strings which represent
the keys according to the dnssec-policy and the expected key states.
bin/tests/system/isctest/kasp.py
bin/tests/system/kasp/tests.sh
bin/tests/system/kasp/tests_kasp.py [new file with mode: 0644]