2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 13:38:26 +00:00

Fix bugs in isctest.kasp

isctest.util was not imported so file_contents_contain could not be
found. And rename verify_keys to check_keys because it asserts in
isctest.run.retry_with_timeout.
This commit is contained in:
Matthijs Mekking 2025-04-11 12:54:15 -05:00
parent 46aead5a6d
commit 62a6b9faa7

View File

@ -24,6 +24,7 @@ import dns
import dns.tsig
import isctest.log
import isctest.query
import isctest.util
DEFAULT_TTL = 300
@ -612,7 +613,7 @@ def check_zone_is_signed(server, zone, tsig=None):
assert signed
def verify_keys(zone, keys, expected):
def check_keys(zone, keys, expected):
"""
Checks keys for a configured zone. This verifies:
1. The expected number of keys exist in 'keys'.