Skip to content

Commit 814ec9e

Browse files
committed
fix: remove unused http_client fixture from test_streamable_http.py
1 parent fe77b61 commit 814ec9e

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

tests/shared/test_streamable_http.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ async def replay_events_after( # pragma: no cover
125125

126126

127127
# Test server implementation that follows MCP protocol
128-
class ServerTest(Server): # pragma: no cover
128+
class ServerTest(Server):
129129
def __init__(self):
130130
super().__init__(SERVER_NAME)
131131
self._lock = None # Will be initialized in async context
@@ -957,12 +957,6 @@ def test_get_validation(basic_server: None, basic_server_url: str):
957957
assert "Not Acceptable" in response.text
958958

959959

960-
# Client-specific fixtures
961-
@pytest.fixture
962-
async def http_client(basic_server: None, basic_server_url: str): # pragma: no cover
963-
"""Create test client matching the SSE test pattern."""
964-
async with httpx.AsyncClient(base_url=basic_server_url) as client:
965-
yield client
966960

967961

968962
@pytest.fixture

0 commit comments

Comments
 (0)