(self)
| 443 | @unittest.skipIf(not _nanonameserver_available, "nanonameserver required") |
| 444 | class XfrTests(unittest.TestCase): |
| 445 | def test_axfr(self): |
| 446 | expected = dns.zone.from_text(axfr_zone, origin="example") |
| 447 | with AXFRNanoNameserver(origin="example") as ns: |
| 448 | xfr = dns.query.xfr(ns.tcp_address[0], "example", port=ns.tcp_address[1]) |
| 449 | zone = dns.zone.from_xfr(xfr) |
| 450 | self.assertEqual(zone, expected) |
| 451 | |
| 452 | def test_axfr_tsig(self): |
| 453 | expected = dns.zone.from_text(axfr_zone, origin="example") |
nothing calls this directly
no test coverage detected