test: align gateway review acknowledgement with shared formatter

This commit is contained in:
Teknium
2026-09-08 04:06:32 -07:00
parent 9e048186a9
commit ee84ccd8bd

View File

@@ -103,7 +103,7 @@ async def test_review_command_dispatches_background_subagent(monkeypatch):
runner = _make_runner(agent)
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 "check tests" in built["context"]