Answer stability round 1: 0 🔴, 0 🟡; label the test's cases and fix a paragraph's wording

This commit is contained in:
2026-10-21 22:37:29 +02:00
parent 14e323ef01
commit d1230a515e
2 changed files with 4 additions and 3 deletions
+3 -2
View File
@@ -1187,8 +1187,9 @@ class WorkerArgs(unittest.TestCase):
def test_disallows_a_wakeup_so_a_worker_that_ends_its_turn_exits(self):
opened = session.session_named("A proj loop-claude", pathlib.Path("/h/.claude/projects"))
for resume in (False, True):
args = worker.worker_args(opened, Rung("m"), "Do it.", resume=resume)
self.assertEqual(args[args.index("--disallowedTools") + 1], "ScheduleWakeup")
with self.subTest(resume=resume):
args = worker.worker_args(opened, Rung("m"), "Do it.", resume=resume)
self.assertEqual(args[args.index("--disallowedTools") + 1], "ScheduleWakeup")
class Records(unittest.TestCase):