mirror of
https://github.com/searxng/searxng
synced 2024-11-07 03:20:28 +00:00
[fix] test follow up
This commit is contained in:
parent
1cde92574f
commit
79b3de5185
@ -47,5 +47,5 @@ class SelfIPTest(SearxTestCase):
|
|||||||
request.headers.getlist.return_value = []
|
request.headers.getlist.return_value = []
|
||||||
ctx = {'search': Mock(answers=set(),
|
ctx = {'search': Mock(answers=set(),
|
||||||
query='ip')}
|
query='ip')}
|
||||||
store.call('pre_search', request, ctx)
|
store.call('post_search', request, ctx)
|
||||||
self.assertTrue('127.0.0.1' in ctx['search'].answers)
|
self.assertTrue('127.0.0.1' in ctx['search'].answers)
|
||||||
|
Loading…
Reference in New Issue
Block a user