Skip to content

Commit 30b38f9

Browse files
committed
Apply ruff formatting to test_server.py
1 parent 1bd89ff commit 30b38f9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/server/fastmcp/test_server.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ async def test_sse_app_with_mount_path(self):
7474
mcp.sse_app()
7575
# Verify _normalize_path was called with correct args
7676
mock_normalize.assert_called_once_with("/custom", "/messages/")
77-
77+
7878
# Test with mount_path parameter
7979
mcp = FastMCP()
8080
with patch.object(
@@ -105,19 +105,19 @@ async def test_starlette_routes_with_mount_path(self):
105105
assert (
106106
mount_routes[0].path == "/messages"
107107
), "Mount route path should be /messages"
108-
108+
109109
# Test with mount path as parameter
110110
mcp = FastMCP()
111111
app = mcp.sse_app(mount_path="/param")
112-
112+
113113
# Find routes by type
114114
sse_routes = [r for r in app.routes if isinstance(r, Route)]
115115
mount_routes = [r for r in app.routes if isinstance(r, Mount)]
116-
116+
117117
# Verify routes exist
118118
assert len(sse_routes) == 1, "Should have one SSE route"
119119
assert len(mount_routes) == 1, "Should have one mount route"
120-
120+
121121
# Verify path values
122122
assert sse_routes[0].path == "/sse", "SSE route path should be /sse"
123123
assert (

0 commit comments

Comments
 (0)