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

Method test_query_with_existing_client

tests/test_llm_api.py:344–347  ·  view source on GitHub ↗
(self, mock_create_client)

Source from the content-addressed store, hash-verified

342 @unittest.skipIf(skip_llm_tests, skip_message)
343 @patch('tools.llm_api.create_llm_client')
344 def test_query_with_existing_client(self, mock_create_client):
345 response = query_llm("Test prompt", client=self.mock_openai_client)
346 self.assertEqual(response, "Test OpenAI response")
347 mock_create_client.assert_not_called()
348
349 @unittest.skipIf(skip_llm_tests, skip_message)
350 @patch('tools.llm_api.create_llm_client')

Callers

nothing calls this directly

Calls 1

query_llmFunction · 0.90

Tested by

no test coverage detected