(self)
| 214 | |
| 215 | @pytest.mark.asyncio |
| 216 | async def test_empty_tools(self): |
| 217 | from mcp_cli.chat.testing import TestChatContext |
| 218 | |
| 219 | sm = _make_stream_manager(tools=[], server_info=[]) |
| 220 | mm = _make_model_manager() |
| 221 | ctx = TestChatContext(sm, mm) |
| 222 | |
| 223 | await ctx._initialize_tools() |
| 224 | |
| 225 | assert ctx.tools == [] |
| 226 | assert ctx.openai_tools == [] |
| 227 | assert ctx.tool_to_server_map == {} |
| 228 | |
| 229 | @pytest.mark.asyncio |
| 230 | async def test_tool_parameters_in_openai_format(self): |
nothing calls this directly
no test coverage detected