summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2015-04-07 16:28:29 +0200
committerAdam Tauber <asciimoo@gmail.com>2015-04-07 16:28:29 +0200
commit79b3de5185bd2a561ffcfd9a1120481af4e8bb91 (patch)
treedd75dcf110b06e09228d5c8194c4e5ba0121d4ab
parent1cde92574f196c4d82a3e292b173bf696b2e2b4c (diff)
downloadsearxng-79b3de5185bd2a561ffcfd9a1120481af4e8bb91.tar.gz
searxng-79b3de5185bd2a561ffcfd9a1120481af4e8bb91.zip
[fix] test follow up
-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)