(tmp_path)
| 67 | |
| 68 | |
| 69 | def test_hash_file_different_content(tmp_path): |
| 70 | f1 = tmp_path / "a.txt" |
| 71 | f2 = tmp_path / "b.txt" |
| 72 | f1.write_text("content A") |
| 73 | f2.write_text("content B") |
| 74 | assert HashRegistry.hash_file(f1) != HashRegistry.hash_file(f2) |
| 75 | |
| 76 | |
| 77 | def test_load_existing_json(tmp_path): |