mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-10-29 17:22:25 +01:00
test(editor): preserve ASGI event loop across bridge requests
This commit is contained in:
@@ -27,7 +27,8 @@ def _reset_planner(monkeypatch):
|
|||||||
def client():
|
def client():
|
||||||
app = FastAPI()
|
app = FastAPI()
|
||||||
app.include_router(eaar.setup_editor_agent_routes())
|
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):
|
def test_plan_uses_injected_planner_and_parses_steps(client):
|
||||||
|
|||||||
Reference in New Issue
Block a user