card #80: kept .github/time/test_steward.py (generated)
heartbeat / tick (pull_request_review) Successful in 4s
heartbeat / tick (pull_request_review) Successful in 4s
This commit is contained in:
1 parent
97ad17704a
commit
481b38aece
1 file changed
+1
-1
@@ -221,7 +221,7 @@ 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
|
||||
assert f.vars == {"TIME_MODE": "live"}, f.vars
|
||||
assert "-> 404" not in "".join(tool_results), "the first set_variable on a fresh repo creates the variable"
|
||||
st.Tools(st.Report()).t_set_variable({"name": "TIME_MODE", "value": "dry"}); assert f.vars == {"TIME_MODE": "dry"}, "an existing one is updated"
|
||||
st.Tools(st.Report()).t_set_variable({"name": "TIME_MODE", "value": "dry-run"}); assert f.vars == {"TIME_MODE": "dry-run"}, "an existing one is updated"
|
||||
assert any('"steward":true' in c["body"] and "The reviewer wants a test" in c["body"] for c in f.comments[20])
|
||||
assert "handed card #20 back" in f.log()[0] and "Left:\n- PR #80 (card #20): a reviewer objected" in f.log()[0]
|
||||
# the steward has spoken on card #20 since its last beat: the next run does not ask again
|
||||
|
||||
Reference in new issue
Block a user