MCPcopy Create free account
hub / github.com/grapeot/devin.cursorrules / test_create_deepseek_client

Method test_create_deepseek_client

tests/test_llm_api.py:179–186  ·  view source on GitHub ↗
(self, mock_openai)

Source from the content-addressed store, hash-verified

177 @unittest.skipIf(skip_llm_tests, skip_message)
178 @patch('tools.llm_api.OpenAI')
179 def test_create_deepseek_client(self, mock_openai):
180 mock_openai.return_value = self.mock_openai_client
181 client = create_llm_client("deepseek")
182 mock_openai.assert_called_once_with(
183 api_key='test-deepseek-key',
184 base_url="https://api.deepseek.com/v1"
185 )
186 self.assertEqual(client, self.mock_openai_client)
187
188 @unittest.skipIf(skip_llm_tests, skip_message)
189 @patch('tools.llm_api.OpenAI')

Callers

nothing calls this directly

Calls 1

create_llm_clientFunction · 0.90

Tested by

no test coverage detected