mirror of
https://github.com/Aider-AI/aider
synced 2026-04-26 01:25:17 +02:00
fix: mock fuzzy_match_models in SSL verification test
This commit is contained in:
@@ -24,8 +24,10 @@ class TestSSLVerification(TestCase):
|
||||
@patch("aider.llm.litellm._load_litellm")
|
||||
@patch("httpx.Client")
|
||||
@patch("httpx.AsyncClient")
|
||||
@patch("aider.models.fuzzy_match_models", return_value=[])
|
||||
def test_no_verify_ssl_flag_sets_model_info_manager(
|
||||
self, mock_async_client, mock_client, mock_load_litellm, mock_set_verify_ssl, mock_offer_url
|
||||
self, mock_fuzzy_match, mock_async_client, mock_client, mock_load_litellm,
|
||||
mock_set_verify_ssl, mock_offer_url
|
||||
):
|
||||
# Prevent actual URL opening
|
||||
mock_offer_url.return_value = False
|
||||
|
||||
Reference in New Issue
Block a user