(self, MockMM)
| 146 | |
| 147 | @patch("mcp_cli.chat.testing.ModelManager") |
| 148 | def test_provider_only(self, MockMM): |
| 149 | from mcp_cli.chat.testing import TestChatContext |
| 150 | |
| 151 | mm_inst = _make_model_manager() |
| 152 | MockMM.return_value = mm_inst |
| 153 | sm = _make_stream_manager() |
| 154 | |
| 155 | TestChatContext.create_for_testing(sm, provider="groq") |
| 156 | mm_inst.switch_provider.assert_called_once_with("groq") |
| 157 | mm_inst.switch_model.assert_not_called() |
| 158 | |
| 159 | @patch("mcp_cli.chat.testing.ModelManager") |
| 160 | def test_model_only(self, MockMM): |
nothing calls this directly
no test coverage detected