Browse Source

[fix] test follow up

Adam Tauber 10 years ago
parent
commit
79b3de5185
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      searx/tests/test_plugins.py

+ 1
- 1
searx/tests/test_plugins.py View File

47
         request.headers.getlist.return_value = []
47
         request.headers.getlist.return_value = []
48
         ctx = {'search': Mock(answers=set(),
48
         ctx = {'search': Mock(answers=set(),
49
                               query='ip')}
49
                               query='ip')}
50
-        store.call('pre_search', request, ctx)
50
+        store.call('post_search', request, ctx)
51
         self.assertTrue('127.0.0.1' in ctx['search'].answers)
51
         self.assertTrue('127.0.0.1' in ctx['search'].answers)