(self, mock_anthropic)
| 199 | @unittest.skipIf(skip_llm_tests, skip_message) |
| 200 | @patch('tools.llm_api.Anthropic') |
| 201 | def test_create_anthropic_client(self, mock_anthropic): |
| 202 | mock_anthropic.return_value = self.mock_anthropic_client |
| 203 | client = create_llm_client("anthropic") |
| 204 | mock_anthropic.assert_called_once_with(api_key='test-anthropic-key') |
| 205 | self.assertEqual(client, self.mock_anthropic_client) |
| 206 | |
| 207 | @unittest.skipIf(skip_llm_tests, skip_message) |
| 208 | @patch('tools.llm_api.genai') |
nothing calls this directly
no test coverage detected