(self)
| 347 | self.assertTrue(ok) |
| 348 | |
| 349 | def testFromFile2(self): |
| 350 | z = dns.zone.from_file(here("example"), "example", relativize=False) |
| 351 | ok = False |
| 352 | try: |
| 353 | z.to_file(here("example2.out"), relativize=False, nl=b"\x0a") |
| 354 | ok = compare_files( |
| 355 | "testFromFile2", here("example2.out"), here("example2.good") |
| 356 | ) |
| 357 | finally: |
| 358 | if not _keep_output: |
| 359 | os.unlink(here("example2.out")) |
| 360 | self.assertTrue(ok) |
| 361 | |
| 362 | def testToFileTextualStream(self): |
| 363 | z = dns.zone.from_text(example_text, "example.", relativize=True) |
nothing calls this directly
no test coverage detected