summaryrefslogtreecommitdiff
path: root/tests/unit/test_webapp.py
diff options
context:
space:
mode:
authorNoémi Ványi <kvch@users.noreply.github.com>2021-03-06 12:17:10 +0100
committerGitHub <noreply@github.com>2021-03-06 12:17:10 +0100
commit0d8b369b5b300e8a575d6715fc75067d09db63a5 (patch)
tree5eb04f4a6efc0537fc21d019990428b4a9b5c4b6 /tests/unit/test_webapp.py
parent87f4cc4a9e51f1215f1450ea056ac40e7a961978 (diff)
parent44f4a9d49a0d78668b37fca8558ae63c5fdef271 (diff)
Merge pull request #2615 from searx/engine-data
Add ability to send engine data to subsequent requests
Diffstat (limited to 'tests/unit/test_webapp.py')
-rw-r--r--tests/unit/test_webapp.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/unit/test_webapp.py b/tests/unit/test_webapp.py
index a488faf58..7d7a04fdc 100644
--- a/tests/unit/test_webapp.py
+++ b/tests/unit/test_webapp.py
@@ -57,7 +57,8 @@ class ViewsTestCase(SearxTestCase):
results_number=lambda: 3,
results_length=lambda: len(test_results),
get_timings=lambda: timings,
- redirect_url=None)
+ redirect_url=None,
+ engine_data={})
self.setattr4test(Search, 'search', search_mock)