Test the scoring call, its answer and the refusals a mutant survived
CI / tests (pull_request) Has been cancelled

This commit is contained in:
Lilleman
2026-11-20 15:45:45 +01:00
parent af81dcdcbc
commit 481e13253a
5 changed files with 113 additions and 0 deletions
+2
View File
@@ -355,6 +355,8 @@ class Planning(DoEpicTest):
self.rule()
self.description = RANKED
self.issues = [scored("ABC-20", "epic 1 by 2", "do-epic-claude", by_loop=False), issue("ABC-21", "do-epic-claude")]
# An earlier run made the folder the scoring runs in.
(self.home / planning.STATE / "ABC-12").mkdir(parents=True, exist_ok=True)
fake = FakeEffects(claude=[says(ANSWER)])
found, store, out = self.plan(fake)
assert not isinstance(found, Failure | Limited), found