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

Method test_create_gemini_client

tests/test_llm_api.py:209–212  ·  view source on GitHub ↗
(self, mock_genai)

Source from the content-addressed store, hash-verified

207 @unittest.skipIf(skip_llm_tests, skip_message)
208 @patch('tools.llm_api.genai')
209 def test_create_gemini_client(self, mock_genai):
210 client = create_llm_client("gemini")
211 mock_genai.configure.assert_called_once_with(api_key='test-google-key')
212 self.assertEqual(client, mock_genai)
213
214 @unittest.skipIf(skip_llm_tests, skip_message)
215 @patch('tools.llm_api.OpenAI')

Callers

nothing calls this directly

Calls 1

create_llm_clientFunction · 0.90

Tested by

no test coverage detected