| test_client_discovers_and_calls_list_tests |
FAIL |
self = async def test_client_discovers_and_calls_list_tests(self) -> None: async with Client(mcp) as client: tools = await client.list_tools() result = await client.call_tool("list_tests", {}) self.assertEqual( {tool.name for tool in tools.tools}, {"list_tests", "run_pytest_ct", "run_unittest", "get_latest_result"}, ) self.assertEqual( > result.structured_content["result"]["pytest"]["test_ids"], ^^^^^^^^^^^^^ ["CT-UART-001", "CT-USB-001", "CT-NETWORK-001"], ) E KeyError: 'result' test_envs\tests\unittest\ct_framework\python\test_mcp_runner.py:60: KeyError |