Ensure path works across platforms

This commit is contained in:
Jeremiah Lowin 2025-04-30 18:05:37 -04:00
commit e439f616c1

View file

@ -158,7 +158,7 @@ class TestToolReturnTypes:
async with Client(mcp) as client:
result = await client.call_tool("path_tool", {})
assert isinstance(result[0], TextContent)
assert result[0].text == f'"{test_path}"'
assert result[0].text == f'"{str(test_path)}"'
async def test_datetime(self):
mcp = FastMCP()