Home | History | Annotate | Download | only in isctest

Lines Matching defs:ede

73     """Extract EDE options from the DNS message."""
79 if option.otype == dns.edns.OptionType.EDE
85 """Check that message contains no EDE option."""
87 # dnspython<2.2.0 doesn't support EDE, skip check
91 assert not ede_options, f"unexpected EDE options {ede_options} in {message}"
94 def ede(
97 """Check if message contains expected EDE code (and its text)."""
99 # dnspython<2.2.0 doesn't support EDE, skip check
105 assert matching_opts, f"missing EDE code {code} in {message}"
110 # check at least one matching EDE option has the required text
115 assert False, f'EDE text "{text}" not found in [{opt_str}]'