bind9/bin/tests/system/isctest
Nicki Křížek 61b3b415d5 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.
2025-11-10 15:41:51 +01:00
..
hypothesis Move multi-subdomain name generator into shared utilities 2025-07-29 10:00:36 +02:00
log Separate LineReader functionality from WatchLog 2025-07-18 11:32:41 +02:00
vars Detect xmllint at build time 2025-10-25 07:37:48 +02:00
__init__.py Refactor and move query helper to isctest.query.create 2025-07-29 12:12:44 -07:00
__main__.py Initialize all environment variables when running isctest 2024-07-31 10:50:11 +02:00
asyncserver.py Require dnspython>2.0.0 in system tests using asyncserver 2025-11-04 16:57:59 +01:00
check.py Add isctest.check.ede() helper for pytest 2025-11-10 15:41:51 +01:00
compat.py Add isctest.check.ede() helper for pytest 2025-11-10 15:41:51 +01:00
instance.py add helper functions to isctest 2025-07-29 12:12:44 -07:00
kasp.py Make properties direct attribute of KeyProperties 2025-10-08 09:56:58 +02:00
mark.py convert filter-aaaa test to python 2025-08-05 23:01:03 -07:00
name.py Don't use pytest.importorskip in isctest.name 2025-11-04 16:57:59 +01:00
query.py Refactor and move query helper to isctest.query.create 2025-07-29 12:12:44 -07:00
rndc.py Disable too-many/too-few pylint checks 2024-10-17 11:01:44 +02:00
run.py Log command stdout when using isctest.run.cmd() 2025-06-27 16:31:49 +02:00
template.py Add module-specific python setup to system tests 2025-10-21 15:07:49 +02:00
util.py Move param to isctest.util 2025-06-19 14:11:28 +02:00