(self, tmp_path)
| 607 | assert brief == "A" * 150 |
| 608 | |
| 609 | def test_sorted_alphabetically(self, tmp_path): |
| 610 | wiki = tmp_path / "wiki" |
| 611 | concepts = wiki / "concepts" |
| 612 | concepts.mkdir(parents=True) |
| 613 | (concepts / "zebra.md").write_text("Zebra concept.", encoding="utf-8") |
| 614 | (concepts / "apple.md").write_text("Apple concept.", encoding="utf-8") |
| 615 | (concepts / "mango.md").write_text("Mango concept.", encoding="utf-8") |
| 616 | result = _read_concept_briefs(wiki) |
| 617 | lines = result.strip().splitlines() |
| 618 | slugs = [line.split(":")[0].lstrip("- ") for line in lines] |
| 619 | assert slugs == ["apple", "mango", "zebra"] |
| 620 | |
| 621 | def test_reads_brief_from_frontmatter(self, tmp_path): |
| 622 | wiki = tmp_path / "wiki" |
nothing calls this directly
no test coverage detected