(self, temp_dirpath)
| 842 | self.assertEqual(tf.next(), None) |
| 843 | |
| 844 | def _setup_symlink_to_target(self, temp_dirpath): |
| 845 | target_filepath = os.path.join(temp_dirpath, "target") |
| 846 | ustar_dirpath = os.path.join(temp_dirpath, "ustar") |
| 847 | hardlink_filepath = os.path.join(ustar_dirpath, "lnktype") |
| 848 | with open(target_filepath, "wb") as f: |
| 849 | f.write(b"target") |
| 850 | os.makedirs(ustar_dirpath) |
| 851 | os.symlink(target_filepath, hardlink_filepath) |
| 852 | return target_filepath, hardlink_filepath |
| 853 | |
| 854 | def _assert_on_file_content(self, filepath, digest): |
| 855 | with open(filepath, "rb") as f: |
no test coverage detected