(self, tmp_path)
| 2180 | |
| 2181 | class TestEntityBacklinks: |
| 2182 | def _seed(self, tmp_path): |
| 2183 | (tmp_path / "summaries").mkdir() |
| 2184 | (tmp_path / "summaries" / "doc.md").write_text( |
| 2185 | "---\nsources: []\n---\n\n# Doc\n", encoding="utf-8" |
| 2186 | ) |
| 2187 | (tmp_path / "entities").mkdir() |
| 2188 | (tmp_path / "entities" / "anthropic.md").write_text( |
| 2189 | "---\ntype: organization\nsources: [summaries/doc.md]\n---\n\n# Anthropic\n", |
| 2190 | encoding="utf-8", |
| 2191 | ) |
| 2192 | |
| 2193 | def test_summary_gets_entities_section(self, tmp_path): |
| 2194 | self._seed(tmp_path) |
no outgoing calls
no test coverage detected