(zone)
| 518 | |
| 519 | |
| 520 | def test_zone_rollback(zone): |
| 521 | a99 = dns.name.from_text("a99.example.") |
| 522 | try: |
| 523 | with zone.writer() as txn: |
| 524 | rds = dns.rdataset.from_text("in", "a", 300, "10.0.0.99") |
| 525 | txn.add(a99, rds) |
| 526 | assert txn.name_exists(a99) |
| 527 | raise ExpectedException |
| 528 | except ExpectedException: |
| 529 | pass |
| 530 | assert not zone.get_node(a99) |
| 531 | |
| 532 | |
| 533 | def test_zone_ooz_name(zone): |
nothing calls this directly
no test coverage detected
searching dependent graphs…