mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 14:07:59 +00:00
Add RA flag checks to isctest.check
(cherry picked from commit f2a4c5dcb0556e109f7e77807c98564450b4c22a)
This commit is contained in:
parent
a26f1e4f27
commit
9decbd88a3
@ -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 (
|
||||
|
Loading…
x
Reference in New Issue
Block a user