Pin the replay's progress lines, its limit exit and the comparison without a miss in tests
This commit is contained in:
@@ -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("## ")]
|
||||
|
||||
Reference in New Issue
Block a user