Fix mcp_server CI test (#143898)

pull/143897/head^2
Jan Bouwhuis 2025-04-29 20:40:50 +02:00 committed by GitHub
parent 92da640d4c
commit 05f393560f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -315,7 +315,7 @@ async def test_mcp_tools_list(
# are converted correctly.
tool = next(iter(tool for tool in result.tools if tool.name == "HassTurnOn"))
assert tool.name == "HassTurnOn"
assert tool.description == "Turns on/opens a device or entity"
assert tool.description is not None
assert tool.inputSchema
assert tool.inputSchema.get("type") == "object"
properties = tool.inputSchema.get("properties")