Skip to content

Commit cce6d2f

Browse files
authored
Update test_server.py
1 parent cc9f3d9 commit cce6d2f

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

tests/server/fastmcp/test_server.py

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -124,23 +124,6 @@ async def test_starlette_routes_with_mount_path(self):
124124
mount_routes[0].path == "/messages"
125125
), "Mount route path should be /messages"
126126

127-
mcp = FastMCP()
128-
app = mcp.streamable_http_app()
129-
130-
# Find routes by type
131-
streamable_routes = [r for r in app.routes if isinstance(r, Route)]
132-
133-
# Verify routes exist
134-
assert len(streamable_routes) == 2, "Should have two streamable routes"
135-
136-
# Verify path values
137-
assert (
138-
streamable_routes[0].path == "/mcp"
139-
), "Streamable route path should be /mcp"
140-
assert (
141-
streamable_routes[1].path == "/mcp/"
142-
), "Streamable route path should be /mcp/"
143-
144127
@pytest.mark.anyio
145128
async def test_non_ascii_description(self):
146129
"""Test that FastMCP handles non-ASCII characters in descriptions correctly"""

0 commit comments

Comments
 (0)