MCPcopy Create free account
hub / github.com/rthalley/dnspython / bad

Method bad

tests/test_query.py:479–484  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

477
478 def test_axfr_udp(self):
479 def bad():
480 with AXFRNanoNameserver(origin="example") as ns:
481 xfr = dns.query.xfr(
482 ns.udp_address[0], "example", port=ns.udp_address[1], use_udp=True
483 )
484 l = list(xfr)
485
486 self.assertRaises(ValueError, bad)
487

Callers

nothing calls this directly

Calls 3

AXFRNanoNameserverClass · 0.85
IXFRNanoNameserverClass · 0.85
ServerClass · 0.70

Tested by

no test coverage detected