(self)
| 404 | self.assertTrue(ok) |
| 405 | |
| 406 | def testToFileFilename(self): |
| 407 | z = dns.zone.from_file(here("example"), "example") |
| 408 | try: |
| 409 | z.to_file(here("example3-filename.out")) |
| 410 | ok = compare_files( |
| 411 | "testToFileFilename", |
| 412 | here("example3-filename.out"), |
| 413 | here("example3.good"), |
| 414 | ) |
| 415 | finally: |
| 416 | if not _keep_output: |
| 417 | os.unlink(here("example3-filename.out")) |
| 418 | self.assertTrue(ok) |
| 419 | |
| 420 | def testToText(self): |
| 421 | z = dns.zone.from_file(here("example"), "example") |
nothing calls this directly
no test coverage detected