(self, directory)
| 3361 | shutil.rmtree(cls.control_dir) |
| 3362 | |
| 3363 | def check_files_present(self, directory): |
| 3364 | got_paths = set( |
| 3365 | p.relative_to(directory) |
| 3366 | for p in pathlib.Path(directory).glob('**/*')) |
| 3367 | if self.extraction_filter in (None, 'data'): |
| 3368 | # The 'data' filter is expected to reject special files |
| 3369 | for path in 'ustar/fifotype', 'ustar/blktype', 'ustar/chrtype': |
| 3370 | got_paths.discard(pathlib.Path(path)) |
| 3371 | self.assertEqual(self.control_paths, got_paths) |
| 3372 | |
| 3373 | @contextmanager |
| 3374 | def extract_with_none(self, *attr_names): |
no test coverage detected