Update test_search.py
This commit is contained in:
parent
789fa90790
commit
18d0a41850
1 changed files with 0 additions and 1 deletions
|
|
@ -39,7 +39,6 @@ def _patch_side_effect_boundaries(monkeypatch, search_mod):
|
||||||
return None
|
return None
|
||||||
|
|
||||||
async def dummy_prepare_search_result(search_result):
|
async def dummy_prepare_search_result(search_result):
|
||||||
# search() and helpers mostly exchange tuples: (result, context, datasets)
|
|
||||||
if isinstance(search_result, tuple) and len(search_result) == 3:
|
if isinstance(search_result, tuple) and len(search_result) == 3:
|
||||||
result, context, datasets = search_result
|
result, context, datasets = search_result
|
||||||
return {"result": result, "context": context, "graphs": {}, "datasets": datasets}
|
return {"result": result, "context": context, "graphs": {}, "datasets": datasets}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue