From 62a6b9faa7ccf85b2b628fb991c8f72d2976eee3 Mon Sep 17 00:00:00 2001 From: Matthijs Mekking Date: Fri, 11 Apr 2025 12:54:15 -0500 Subject: [PATCH] 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. --- bin/tests/system/isctest/kasp.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/tests/system/isctest/kasp.py b/bin/tests/system/isctest/kasp.py index 2ade4dafbe..0ea1c774ea 100644 --- a/bin/tests/system/isctest/kasp.py +++ b/bin/tests/system/isctest/kasp.py @@ -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'.