Skip to content

Commit c9f686f

Browse files
committed
ruff
1 parent fdab98f commit c9f686f

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

tests/server/fastmcp/test_integration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def server(server_port: int) -> Generator[None, None, None]:
140140

141141
@pytest.fixture()
142142
def streamable_http_server(http_server_port: int) -> Generator[None, None, None]:
143-
"""Start the StreamableHTTP server in a separate process and clean up after the test."""
143+
"""Start the StreamableHTTP server in a separate process."""
144144
proc = multiprocessing.Process(
145145
target=run_streamable_http_server, args=(http_server_port,), daemon=True
146146
)

tests/shared/test_streamable_http.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,10 @@
44
Contains tests for both server and client sides of the StreamableHTTP transport.
55
"""
66

7-
import contextlib
87
import multiprocessing
98
import socket
109
import time
1110
from collections.abc import Generator
12-
from http import HTTPStatus
13-
from uuid import uuid4
1411

1512
import anyio
1613
import httpx
@@ -19,10 +16,7 @@
1916
import uvicorn
2017
from pydantic import AnyUrl
2118
from starlette.applications import Starlette
22-
from starlette.requests import Request
23-
from starlette.responses import Response
2419
from starlette.routing import Mount
25-
from starlette.types import Receive, Scope, Send
2620

2721
import mcp.types as types
2822
from mcp.client.session import ClientSession

0 commit comments

Comments
 (0)