(self, filepath, digest)
| 854 | return target_filepath, hardlink_filepath |
| 855 | |
| 856 | def _assert_on_file_content(self, filepath, digest): |
| 857 | with open(filepath, "rb") as f: |
| 858 | data = f.read() |
| 859 | self.assertEqual(sha256sum(data), digest) |
| 860 | |
| 861 | @unittest.skipUnless( |
| 862 | hasattr(os, "link"), "Missing hardlink implementation" |
no test coverage detected