Skip to content

Commit

Permalink
Fix ut (#456)
Browse files Browse the repository at this point in the history
  • Loading branch information
rayrayraykk authored Oct 8, 2024
1 parent 094ef04 commit 9d7af22
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/web_search_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,11 @@ def test_arxiv_search(self) -> None:
id_list=["2402.14034"],
max_results=1,
)

if isinstance(res.content, str):
# Error happens in `arxiv_search`
return

self.assertEqual(
res.content["entries"][0]["title"],
"AgentScope: A Flexible yet Robust Multi-Agent Platform",
Expand Down

0 comments on commit 9d7af22

Please sign in to comment.