mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 22:15:20 +00:00
Add RA flag checks to isctest.check
(cherry picked from commit f2a4c5dcb0
)
This commit is contained in:
@@ -58,6 +58,14 @@ def nordflag(message: dns.message.Message) -> None:
|
||||
assert (message.flags & dns.flags.RD) == 0, str(message)
|
||||
|
||||
|
||||
def raflag(message: dns.message.Message) -> None:
|
||||
assert (message.flags & dns.flags.RA) != 0, str(message)
|
||||
|
||||
|
||||
def noraflag(message: dns.message.Message) -> None:
|
||||
assert (message.flags & dns.flags.RA) == 0, str(message)
|
||||
|
||||
|
||||
def section_equal(first_section: list, second_section: list) -> None:
|
||||
for rrset in first_section:
|
||||
assert (
|
||||
|
Reference in New Issue
Block a user