mirror of
https://github.com/Aider-AI/aider
synced 2026-04-26 01:25:17 +02:00
style: Format test_exceptions.py with linter
This commit is contained in:
@@ -72,11 +72,11 @@ def test_openrouter_error():
|
||||
|
||||
# Create an APIConnectionError with OpenrouterException message
|
||||
openrouter_error = APIConnectionError(
|
||||
message="APIConnectionError: OpenrouterException - 'choices'",
|
||||
model="openrouter/model",
|
||||
llm_provider="openrouter"
|
||||
message="APIConnectionError: OpenrouterException - 'choices'",
|
||||
model="openrouter/model",
|
||||
llm_provider="openrouter",
|
||||
)
|
||||
|
||||
|
||||
ex_info = ex.get_ex_info(openrouter_error)
|
||||
assert ex_info.retry is False
|
||||
assert "OpenRouter API provider is down" in ex_info.description
|
||||
|
||||
Reference in New Issue
Block a user