(self, tmp_path)
| 254 | assert "# Summary" in text |
| 255 | |
| 256 | def test_omits_description_when_empty(self, tmp_path): |
| 257 | wiki = tmp_path / "wiki" |
| 258 | wiki.mkdir() |
| 259 | _write_summary(wiki, "my-doc", "# Summary\n\nContent.") |
| 260 | text = (wiki / "summaries" / "my-doc.md").read_text() |
| 261 | assert 'type: "Summary"' in text |
| 262 | assert "description:" not in text |
| 263 | |
| 264 | |
| 265 | class TestWriteConcept: |
nothing calls this directly
no test coverage detected