commit: 79b3de5185bd2a561ffcfd9a1120481af4e8bb91
parent: 1cde92574f196c4d82a3e292b173bf696b2e2b4c
Author: Adam Tauber <asciimoo@gmail.com>
Date: Tue, 7 Apr 2015 16:28:29 +0200
[fix] test follow up
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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)