test(editor): preserve ASGI event loop across bridge requests

This commit is contained in:
Alexandre Teixeira
2026-10-27 16:20:08 +00:00
parent d105fbde95
commit 25c2fad3e1
+2 -1
View File
@@ -27,7 +27,8 @@ def _reset_planner(monkeypatch):
def client():
app = FastAPI()
app.include_router(eaar.setup_editor_agent_routes())
return TestClient(app)
with TestClient(app) as client:
yield client
def test_plan_uses_injected_planner_and_parses_steps(client):