summaryrefslogtreecommitdiff
path: root/tests/unit/test_webapp.py
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2021-03-02 14:24:55 +0100
committerAdam Tauber <asciimoo@gmail.com>2021-03-06 12:12:35 +0100
commit44f4a9d49a0d78668b37fca8558ae63c5fdef271 (patch)
tree5eb04f4a6efc0537fc21d019990428b4a9b5c4b6 /tests/unit/test_webapp.py
parent87f4cc4a9e51f1215f1450ea056ac40e7a961978 (diff)
downloadsearxng-44f4a9d49a0d78668b37fca8558ae63c5fdef271.tar.gz
searxng-44f4a9d49a0d78668b37fca8558ae63c5fdef271.zip
[enh] 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)