Jeremiah Lowin commited on
Commit
07fd455
·
1 Parent(s): 3de056b

Ensure path works across platforms

Browse files
tests/server/test_server_interactions.py CHANGED
@@ -158,7 +158,7 @@ class TestToolReturnTypes:
158
  async with Client(mcp) as client:
159
  result = await client.call_tool("path_tool", {})
160
  assert isinstance(result[0], TextContent)
161
- assert result[0].text == f'"{test_path}"'
162
 
163
  async def test_datetime(self):
164
  mcp = FastMCP()
 
158
  async with Client(mcp) as client:
159
  result = await client.call_tool("path_tool", {})
160
  assert isinstance(result[0], TextContent)
161
+ assert result[0].text == f'"{str(test_path)}"'
162
 
163
  async def test_datetime(self):
164
  mcp = FastMCP()