(self)
| 407 | self.assertTrue(target.is_file()) |
| 408 | |
| 409 | def test_cmdline_copy(self): |
| 410 | # Test copying an archive. |
| 411 | original = self.make_archive() |
| 412 | target = self.tmpdir / 'target.pyz' |
| 413 | args = [str(original), '-o', str(target)] |
| 414 | zipapp.main(args) |
| 415 | self.assertTrue(target.is_file()) |
| 416 | |
| 417 | def test_cmdline_copy_inplace(self): |
| 418 | # Test copying an archive in place fails. |
nothing calls this directly
no test coverage detected