Skip to content

Commit 3d0f947

Browse files
more info in the asserts of test_wdoc
Signed-off-by: thiswillbeyourgithub <[email protected]>
1 parent ffe46bc commit 3d0f947

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/test_wdoc.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -514,8 +514,8 @@ def test_query_duckduckgo_search():
514514
)
515515

516516
# Basic validation that the function runs without crashing
517-
assert isinstance(out, dict)
518-
assert "final_answer" in out
519-
assert isinstance(out["final_answer"], str)
520-
assert len(out["final_answer"]) > 0
517+
assert isinstance(out, dict), out
518+
assert "final_answer" in out, out
519+
assert isinstance(out["final_answer"], str), out
520+
assert len(out["final_answer"]) > 0, out
521521
# Don't check the content deeply as requested, just ensure it returns something

0 commit comments

Comments
 (0)