Skip to content

Commit

Permalink
fix: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dsp-ant committed Feb 4, 2025
1 parent 08042c3 commit 27bfde9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/server/fastmcp/test_parameter_descriptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from mcp.server.fastmcp import FastMCP


@pytest.mark.asyncio
@pytest.mark.anyio
async def test_parameter_descriptions():
mcp = FastMCP("Test Server")

Expand Down
4 changes: 2 additions & 2 deletions tests/shared/test_sse.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def server_url(server_port: int) -> str:


# Test server implementation
class TestServer(Server):
class ServerTest(Server):
def __init__(self):
super().__init__(SERVER_NAME)

Expand Down Expand Up @@ -81,7 +81,7 @@ async def handle_call_tool(name: str, args: dict) -> list[TextContent]:
def make_server_app() -> Starlette:
"""Create test Starlette app with SSE transport"""
sse = SseServerTransport("/messages/")
server = TestServer()
server = ServerTest()

async def handle_sse(request: Request) -> None:
async with sse.connect_sse(
Expand Down

0 comments on commit 27bfde9

Please sign in to comment.