The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test: e2e conftest imports GatewayRunner at module level; elicitation test docstring matches the default thunk
kshitijk4poor284b303fa8ed
diff --git a/tests/e2e/conftest.py b/tests/e2e/conftest.pyindex 577d0c13e22..bcfe1927514 100644--- a/tests/e2e/conftest.py+++ b/tests/e2e/conftest.py@@ -12,19 +12,16 @@ No LLM, no real platform connections.import asyncioimport sysimport uuid-from typing import TYPE_CHECKINGfrom datetime import datetime, timezonefrom types import SimpleNamespacefrom unittest.mock import AsyncMock, MagicMock, patchimport pytest-if TYPE_CHECKING:- from gateway.run import GatewayRunner-from gateway.config import GatewayConfig, Platform, PlatformConfigfrom gateway.platforms.base import SendResultfrom gateway.platforms.event import MessageEvent+from gateway.run import GatewayRunnerfrom gateway.session import SessionEntry, SessionSource, build_session_keyE2E_MESSAGE_SETTLE_DELAY = 0.3@@ -169,13 +166,11 @@ def make_event()-def make_runner(platform: Platform, session_entry: SessionEntry = None) -> "GatewayRunner":+def make_runner(platform: Platform, session_entry: SessionEntry = None) -> GatewayRunner:"""Create a GatewayRunner with mocked internals for e2e testing.Skips __init__ to avoid filesystem/network side effects."""- from gateway.run import GatewayRunner-if session_entry is None:session_entry = make_session_entry(platform)diff --git a/tests/tools/test_mcp_elicitation.py b/tests/tools/test_mcp_elicitation.pyindex edc05bb4daf..1177c0f5fd7 100644--- a/tests/tools/test_mcp_elicitation.py+++ b/tests/tools/test_mcp_elicitation.py@@ -250,7 +250,7 @@ class TestElicitationHandlerContextBridge:)def test_missing_captured_context_falls_back_to_direct_call(self):- """Without a call_context (or one whose task hasn't entered a tool+ """With the default call_context (or one whose task has not entered a toolcall) the handler must still invoke the consent router -- justwithout the contextvar replay. Otherwise CLI/TUI sessions, whichdon't set HERMES_SESSION_PLATFORM, would break."""