mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-21 21:04:59 +00:00
fix: mock fuzzy_match_models in SSL verification test
This commit is contained in:
parent
70847a74c2
commit
6809a7ec3e
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue