Skip to content

Commit 3aabd2d

Browse files
style: format test_cli.py with linter
Co-authored-by: aider (openrouter/anthropic/claude-sonnet-4) <[email protected]>
1 parent 8ed1d0c commit 3aabd2d

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

tests/test_cli.py

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -184,19 +184,23 @@ def test_ddg_search_nvidia():
184184
check=False,
185185
timeout=120,
186186
)
187-
187+
188188
output = result.stdout + result.stderr
189-
189+
190190
# Check that we got some output and no major errors
191-
assert len(output) > 100, f"Expected substantial output from DDG search, got: {output}"
192-
191+
assert (
192+
len(output) > 100
193+
), f"Expected substantial output from DDG search, got: {output}"
194+
193195
# Should contain the testing model's standard response
194196
assert (
195197
"Lorem ipsum dolor sit amet" in output
196198
), f"Output did not contain expected testing string: {output}"
197-
199+
198200
# Should not contain error messages about DDG functionality
199-
assert "Error" not in output or "error" not in output.lower(), f"Unexpected error in DDG search: {output}"
201+
assert (
202+
"Error" not in output or "error" not in output.lower()
203+
), f"Unexpected error in DDG search: {output}"
200204

201205

202206
# The pipe query and summaries test are broken. I think the issue is deep within

0 commit comments

Comments
 (0)