Expect an unquoted verdict's failure to name its question

This commit is contained in:
2026-09-27 17:09:42 +02:00
parent 12170796d3
commit a0e2ac08c1
+1 -1
View File
@@ -417,7 +417,7 @@ class RunCycle(unittest.TestCase):
self.assertEqual(stop.code, 1)
self.assertTrue(stop.reason.startswith("the judge "))
if plan.startswith("unquoted"):
self.assertIn("interrupting with: q?", stop.reason)
self.assertIn("for the question: q?", stop.reason)
self.assertEqual(open(verdicts).read(), "")
self.assertEqual({json.loads(line)[0] for line in open(calls)}, {home})
starts = [args[args.index("-p") + 1:][:3] for args in map(json.loads, open(calls)) if "--json-schema" not in args]