Skip to content

Commit fa09658

Browse files
committed
fix: test already existed, modify existant
1 parent cd10939 commit fa09658

File tree

2 files changed

+2
-16
lines changed

2 files changed

+2
-16
lines changed

tests/issues/test_783_mount_path_sse_message.py

Lines changed: 0 additions & 14 deletions
This file was deleted.

tests/server/fastmcp/test_server.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ async def test_starlette_routes_with_mount_path(self):
9999

100100
# Verify path values
101101
assert sse_routes[0].path == "/sse", "SSE route path should be /sse"
102-
assert mount_routes[0].path == "/messages", "Mount route path should be /messages"
102+
assert mount_routes[0].path == "api/messages", "Mount route path should be /messages"
103103

104104
# Test with mount path as parameter
105105
mcp = FastMCP()
@@ -115,7 +115,7 @@ async def test_starlette_routes_with_mount_path(self):
115115

116116
# Verify path values
117117
assert sse_routes[0].path == "/sse", "SSE route path should be /sse"
118-
assert mount_routes[0].path == "/messages", "Mount route path should be /messages"
118+
assert mount_routes[0].path == "param/messages", "Mount route path should be /messages"
119119

120120
@pytest.mark.anyio
121121
async def test_non_ascii_description(self):

0 commit comments

Comments
 (0)