File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments