chore: commit remaining workspace updates
Agent: - lifecycle: run tracking, middleware hardening, langgraph setup - tests: agent lifecycle + langgraph setup coverage Backend: - async_job_runner: resilience hardening, tests - agent_conversations: run lifecycle integration - translate: scheduler + orchestrator SQL adjustments - schemas/services: agent_lifecycle model extensions Frontend: - TaskDrawer: UX improvements - TaskLogPanel/Viewer: safety hardening, i18n (en/ru) - FilterBar: report filters contract + tests - Reports page: layout adjustments Specs: - 036-agent-test-stabilization: runs contract, modules, events - 037-superset-baseline-engine: catalog schema, testing API, modules - 038-dashboard-scenario-model: scenario schema, capture profile, modules - 039-dashboard-scenario-ui: screen models, release verification UX, modules - dashboard-verification-usecases: new cross-cutting spec
This commit is contained in:
@@ -17,9 +17,9 @@ from unittest.mock import MagicMock, patch
|
||||
|
||||
|
||||
def _make_coro_runner():
|
||||
"""Mock runner whose run() executes the coroutine synchronously via asyncio.run."""
|
||||
"""Mock runner whose dispatch() executes the coroutine synchronously via asyncio.run."""
|
||||
r = MagicMock()
|
||||
r.run.side_effect = lambda coro: asyncio.run(coro)
|
||||
r.dispatch.side_effect = lambda coro: asyncio.run(coro)
|
||||
return r
|
||||
|
||||
# -- Helpers -----------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user