The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test(codex): stub the app-server spawn in the turn-settings tests
kshitijk4poor925a116503de
diff --git a/tests/agent/test_codex_app_server_integration.py b/tests/agent/test_codex_app_server_integration.pyindex 4399ea5dc34..d25eebbdd99 100644--- a/tests/agent/test_codex_app_server_integration.py+++ b/tests/agent/test_codex_app_server_integration.py@@ -99,6 +99,7 @@ class TestRunConversationCodexPath:)monkeypatch.setattr(CodexAppServerSession, "run_turn", fake_run_turn)+ monkeypatch.setattr(CodexAppServerSession, "ensure_started", lambda self: "thread-stub-1")agent = _make_codex_agent(model="gpt-5.4",reasoning_config=reasoning_config,@@ -125,6 +126,7 @@ class TestRunConversationCodexPath:return TurnResult(final_text="done", projected_messages=[{"role": "assistant", "content": "done"}])monkeypatch.setattr(CodexAppServerSession, "run_turn", fake_run_turn)+ monkeypatch.setattr(CodexAppServerSession, "ensure_started", lambda self: "thread-stub-1")agent = _make_codex_agent(model=model, reasoning_config={"enabled": True, "effort": "ultra"})agent.provider = "openai-codex"with patch.object(agent, "_spawn_background_review", return_value=None):