summaryrefslogtreecommitdiff
path: root/searx/tests
diff options
context:
space:
mode:
Diffstat (limited to 'searx/tests')
-rw-r--r--searx/tests/test_plugins.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/tests/test_plugins.py b/searx/tests/test_plugins.py
index 19a02c7b1..8dcad1142 100644
--- a/searx/tests/test_plugins.py
+++ b/searx/tests/test_plugins.py
@@ -47,5 +47,5 @@ class SelfIPTest(SearxTestCase):
request.headers.getlist.return_value = []
ctx = {'search': Mock(answers=set(),
query='ip')}
- store.call('pre_search', request, ctx)
+ store.call('post_search', request, ctx)
self.assertTrue('127.0.0.1' in ctx['search'].answers)