Skip to content

Commit bbe79c2

Browse files
committed
Merge branch 'main' into ihrpr/streamablehttp-server
2 parents 9b096dc + b4c7db6 commit bbe79c2

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

tests/server/fastmcp/servers/test_file_server.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -114,17 +114,13 @@ async def test_read_resource_file(mcp: FastMCP):
114114

115115
@pytest.mark.anyio
116116
async def test_delete_file(mcp: FastMCP, test_dir: Path):
117-
await mcp.call_tool(
118-
"delete_file", arguments={"path": str(test_dir / "example.py")}
119-
)
117+
await mcp.call_tool("delete_file", arguments={"path": str(test_dir / "example.py")})
120118
assert not (test_dir / "example.py").exists()
121119

122120

123121
@pytest.mark.anyio
124122
async def test_delete_file_and_check_resources(mcp: FastMCP, test_dir: Path):
125-
await mcp.call_tool(
126-
"delete_file", arguments={"path": str(test_dir / "example.py")}
127-
)
123+
await mcp.call_tool("delete_file", arguments={"path": str(test_dir / "example.py")})
128124
res_iter = await mcp.read_resource("file://test_dir/example.py")
129125
res_list = list(res_iter)
130126
assert len(res_list) == 1

0 commit comments

Comments
 (0)