[fix] test follow up

This commit is contained in:
Adam Tauber 2015-04-07 16:28:29 +02:00
parent 1cde92574f
commit 79b3de5185

View File

@ -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)