mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-31 19:16:29 +00:00
test(api): follow centralized run event publisher
This commit is contained in:
parent
57da1e1cee
commit
0888a1f8a7
1 changed files with 4 additions and 2 deletions
|
|
@ -122,7 +122,9 @@ class TestApprovalCommandWiring:
|
|||
|
||||
self._assert_redacts_then_uses(run, "_approval_notify_sync", "send_exec_approval")
|
||||
|
||||
def test_sse_api_path_redacts_before_enqueue(self):
|
||||
def test_sse_api_path_redacts_before_publish(self):
|
||||
from gateway.platforms import api_server
|
||||
|
||||
self._assert_redacts_then_uses(api_server, "_approval_notify", "put_nowait")
|
||||
self._assert_redacts_then_uses(
|
||||
api_server, "_approval_notify", "_publish_run_event"
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue