(tmp_path)
| 20 | |
| 21 | |
| 22 | def test_add_and_get(tmp_path): |
| 23 | registry = HashRegistry(tmp_path / "hashes.json") |
| 24 | metadata = {"filename": "doc.pdf", "pages": 10} |
| 25 | registry.add("cafebabe", metadata) |
| 26 | assert registry.get("cafebabe") == metadata |
| 27 | |
| 28 | |
| 29 | def test_persistence_across_instances(tmp_path): |
nothing calls this directly
no test coverage detected