(self)
| 397 | return target |
| 398 | |
| 399 | def test_cmdline_create(self): |
| 400 | # Test the basic command line API. |
| 401 | source = self.tmpdir / 'source' |
| 402 | source.mkdir() |
| 403 | (source / '__main__.py').touch() |
| 404 | args = [str(source)] |
| 405 | zipapp.main(args) |
| 406 | target = source.with_suffix('.pyz') |
| 407 | self.assertTrue(target.is_file()) |
| 408 | |
| 409 | def test_cmdline_copy(self): |
| 410 | # Test copying an archive. |
nothing calls this directly
no test coverage detected