mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Fix mcp_server CI test (#143898)
This commit is contained in:
parent
92da640d4c
commit
05f393560f
@ -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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user