test(api): follow centralized run event publisher

This commit is contained in:
teknium1 2026-07-09 19:45:25 -07:00
parent 57da1e1cee
commit 0888a1f8a7
No known key found for this signature in database

View file

@ -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"
)