From a8f860c559805690e2190c7161915057fce0575a Mon Sep 17 00:00:00 2001 From: Time Date: Sun, 18 Oct 2026 07:21:43 +0000 Subject: [PATCH] card #80: kept .github/time/test_steward.py (generated) --- .github/time/test_steward.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/time/test_steward.py b/.github/time/test_steward.py index 6816bd1..544bff8 100644 --- a/.github/time/test_steward.py +++ b/.github/time/test_steward.py @@ -214,7 +214,7 @@ def steward_model(body, timeout): return {"choices": [{"message": {"role": "assistant", "content": "PR #80 was objected to; I handed card #20 back with the reviewer's point."}}], "usage": {}} tm.chat = steward_model run() -assert len(calls) == 2 and calls[0]["model"] == "claude-opus-5-5" and "escalate to the operator ONLY" in calls[0]["messages"][0]["content"].replace("\n", " ").replace(" ", " ") or True +assert len(calls) == 2 and calls[0]["model"] == "claude-opus-5-5" assert "ONLY for money" in calls[0]["messages"][0]["content"] and "a reviewer objected" in calls[0]["messages"][1]["content"] tool_results = [m["content"] for m in calls[1]["messages"] if m["role"] == "tool"] assert tool_results[0] == "done" and tool_results[1].startswith("refused") and tool_results[2] == "done" and tool_results[3].startswith("refused") and tool_results[4].startswith("refused"), tool_results