bind9/bin
Nicki Křížek 354fd1f921 Add isctest.check.ede() helper for pytest
Add a utility function to check for EDE options present in the DNS
message. The primary benefit of this helper function is that it
handles the compatibility issues with different dnspython versions
and the actual test code doesn't have to deal with that any more.

Rather than using the convenience .extended_errors() method
introduced in dnspython 2.7.0, iterate over the options and find
EDEOption types, which is supported from 2.2.0 onwards.

To work around the issue of using dns.edns.EDECode to specify EDE codes
in our tests, create an isctest.compat.EDECode wrapper. This can be used
even with dnspython versions prior to 2.2.0 and will simply result in
no-op, since EDE isn't supported in the older dnspython anyway.

(cherry picked from commit 61b3b415d5)
2025-11-10 16:28:17 +01:00
..
check dnssec-verify now returns failure on bad arguments 2025-10-22 13:48:22 +11:00
confgen Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
delv dnssec-verify now returns failure on bad arguments 2025-10-22 13:48:22 +11:00
dig avoid retrying a server if its address is unusable 2025-11-04 19:05:52 +00:00
dnssec dnssec-verify now returns failure on bad arguments 2025-10-22 13:48:22 +11:00
named set cfgmaps correctly 2025-10-29 13:28:15 -07:00
nsupdate Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
plugins Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
rndc document config option dependency for showzone 2025-10-23 20:10:49 +00:00
tests Add isctest.check.ede() helper for pytest 2025-11-10 16:28:17 +01:00
tools Extend named-rrchecker multi-line parsing support 2025-06-03 02:27:46 +00:00
Makefile.am Remove native PKCS#11 support 2021-09-09 15:35:39 +02:00