style: Format code with linter

This commit is contained in:
Paul Gauthier (aider) 2025-03-05 18:42:13 -08:00
parent 85b9bdd8f4
commit 96bde4ad03
2 changed files with 14 additions and 8 deletions

View file

@ -691,7 +691,10 @@ class TestMain(TestCase):
with patch("aider.models.Model") as mock_model:
# Configure the mock to avoid the TypeError
mock_model.return_value.info = {}
mock_model.return_value.validate_environment.return_value = {"missing_keys": [], "keys_in_environment": []}
mock_model.return_value.validate_environment.return_value = {
"missing_keys": [],
"keys_in_environment": [],
}
main(
["--no-verify-ssl", "--exit", "--yes"],

View file

@ -34,7 +34,10 @@ class TestSSLVerification(TestCase):
with patch("aider.models.Model") as mock_model:
# Configure the mock to avoid the TypeError
mock_model.return_value.info = {}
mock_model.return_value.validate_environment.return_value = {"missing_keys": [], "keys_in_environment": []}
mock_model.return_value.validate_environment.return_value = {
"missing_keys": [],
"keys_in_environment": [],
}
with patch("aider.llm.litellm._lazy_module", mock_module):
# Run main with --no-verify-ssl flag