Pin the replay's progress lines, its limit exit and the comparison without a miss in tests

This commit is contained in:
2026-11-12 06:03:31 +01:00
parent 2922d70a45
commit 4adcadcddb
2 changed files with 11 additions and 2 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ class ReviewerContext(unittest.TestCase):
(self.home / ".claude" / "CLAUDE.md").write_text("## Prose\n\nWrite short.\n")
self.assertEqual(reviewer_context(self.home), Failure(f"{self.home / '.claude' / 'CLAUDE.md'} holds no section Shared goal, Vocabulary"))
(self.home / ".claude" / "CLAUDE.md").unlink()
self.assertIsInstance(reviewer_context(self.home), Failure)
self.assertIn(f"could not read {self.home / '.claude' / 'CLAUDE.md'}: ", reviewer_context(self.home).reason)
def test_the_repos_claude_md_holds_each_section(self):
headings = [line[3:] for line in (REPO / "CLAUDE.md").read_text().splitlines() if line.startswith("## ")]