(tmp_path)
| 277 | |
| 278 | |
| 279 | def test_resolve_identifier_exact_doc_name(tmp_path): |
| 280 | reg = _make_registry( |
| 281 | tmp_path, |
| 282 | { |
| 283 | "h1": {"name": "a.pdf", "doc_name": "a-h1"}, |
| 284 | "h2": {"name": "b.pdf", "doc_name": "b-h2"}, |
| 285 | }, |
| 286 | ) |
| 287 | matches = _resolve_doc_identifier(reg, "b-h2") |
| 288 | assert [h for h, _ in matches] == ["h2"] |
| 289 | |
| 290 | |
| 291 | def test_resolve_identifier_fuzzy_returns_all(tmp_path): |
nothing calls this directly
no test coverage detected