(self, tmp_path)
| 282 | assert "# Attention" in text |
| 283 | |
| 284 | def test_new_concept_without_brief(self, tmp_path): |
| 285 | wiki = tmp_path / "wiki" |
| 286 | wiki.mkdir() |
| 287 | _write_concept(wiki, "attention", "# Attention\n\nDetails.", "paper.pdf", False) |
| 288 | path = wiki / "concepts" / "attention.md" |
| 289 | assert path.exists() |
| 290 | text = path.read_text() |
| 291 | assert 'sources: ["paper.pdf"]' in text |
| 292 | assert "brief:" not in text |
| 293 | |
| 294 | def test_update_concept_updates_brief(self, tmp_path): |
| 295 | wiki = tmp_path / "wiki" |
nothing calls this directly
no test coverage detected