mirror of
https://github.com/isc-projects/bind9.git
synced 2026-07-16 03:32:49 -04: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:
parent
46aead5a6d
commit
62a6b9faa7
1 changed files with 2 additions and 1 deletions
|
|
@ -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'.
|
||||
|
|
|
|||
Loading…
Reference in a new issue