3030URL = "https://jigsawstack.com"
3131
3232
33- # Deep Research Test Cases
3433DEEP_RESEARCH_TEST_CASES = [
3534 {
3635 "name" : "basic_deep_research" ,
37- "params" : {
38- "query" : "climate change effects" ,
39- "max_depth" :1
40- },
41- },
42- {
43- "name" : "technical_deep_research" ,
44- "params" : {
45- "query" : "quantum computing applications in cryptography" ,
46- "max_depth" : 1 ,
47- },
48- },
49- {
50- "name" : "deep_research_with_depth" ,
51- "params" : {
52- "query" : "renewable energy sources" ,
53- "max_depth" : 2 ,
54- },
55- },
36+ "params" : {"query" : "climate change effects" , "max_depth" : 1 },
37+ }
5638]
5739
5840
@@ -72,9 +54,8 @@ def test_deep_research(self, test_case):
7254 assert result ["success" ]
7355 assert "results" in result
7456 assert isinstance (result ["results" ], str )
75- # assert len(result["results"]) > 0
57+ assert len (result ["results" ]) > 0
7658
77- # Check for sources
7859 if "sources" in result :
7960 assert isinstance (result ["sources" ], list )
8061
@@ -101,7 +82,6 @@ async def test_deep_research_async(self, test_case):
10182 assert isinstance (result ["results" ], str )
10283 assert len (result ["results" ]) > 0
10384
104- # Check for sources
10585 if "sources" in result :
10686 assert isinstance (result ["sources" ], list )
10787
0 commit comments