(self, tmp_path)
| 2205 | assert "[[summaries/doc]]" in text |
| 2206 | |
| 2207 | def test_idempotent(self, tmp_path): |
| 2208 | self._seed(tmp_path) |
| 2209 | _backlink_summary_entities(tmp_path, "doc", ["anthropic"]) |
| 2210 | _backlink_summary_entities(tmp_path, "doc", ["anthropic"]) |
| 2211 | text = (tmp_path / "summaries" / "doc.md").read_text(encoding="utf-8") |
| 2212 | assert text.count("[[entities/anthropic]]") == 1 |
| 2213 | |
| 2214 | |
| 2215 | class TestRemoveEntityPages: |
nothing calls this directly
no test coverage detected