mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-20 12:24:59 +00:00
style: Format test_exceptions.py with linter
This commit is contained in:
parent
61705ce7fc
commit
fd180ebff5
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue