test: align gateway review acknowledgement with shared formatter
This commit is contained in:
@@ -103,7 +103,7 @@ async def test_review_command_dispatches_background_subagent(monkeypatch):
|
|||||||
runner = _make_runner(agent)
|
runner = _make_runner(agent)
|
||||||
out = await runner._handle_review_command(_Event("check tests"))
|
out = await runner._handle_review_command(_Event("check tests"))
|
||||||
|
|
||||||
assert "dispatched" in out
|
assert out == re_mod.format_dispatch_note({"status": "dispatched"})
|
||||||
assert "PR #5 opened" in built["context"]
|
assert "PR #5 opened" in built["context"]
|
||||||
assert "check tests" in built["context"]
|
assert "check tests" in built["context"]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user