Private
Public Access
manaul correction attempts
This commit is contained in:
@@ -72,7 +72,7 @@ def test_rag_integration(mock_project):
|
||||
# message sent to the provider. We use 'wraps' to let the real logic run
|
||||
# while still having a mock we can inspect. We also mock the internal
|
||||
# _send_gemini which is what actually "sends to the provider".
|
||||
with patch('src.ai_client.send', wraps=ai_client.send) as mock_send:
|
||||
with patch('src.ai_client.send_result', wraps=ai_client.send_result) as mock_send:
|
||||
with patch('src.ai_client._send_gemini') as mock_provider:
|
||||
mock_provider.return_value = "Mock AI Response"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user