mirror of
https://github.com/searxng/searxng.git
synced 2025-12-23 20:20:05 +00:00
[fix] commit 2c6531b2 breaks the unit test, this is a hotfix
commit2c6531b2does not only break the unit test, it is a significant change of the data model and the searx search-syntax model (UI) without any discussion nor documentation. At the end, adding routes to instant answers is a nice feature but commit2c6531b2leaf some questions open. In that sense, this patch is only a hotfix not a assessment. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
@@ -48,7 +48,7 @@ class ViewsTestCase(SearxTestCase):
|
||||
|
||||
def search_mock(search_self, *args):
|
||||
search_self.result_container = Mock(get_ordered_results=lambda: test_results,
|
||||
answers=set(),
|
||||
answers=dict(),
|
||||
corrections=set(),
|
||||
suggestions=set(),
|
||||
infoboxes=[],
|
||||
|
||||
Reference in New Issue
Block a user