diff options
| author | Alexandre Flament <alex@al-f.net> | 2020-12-17 11:49:43 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-17 11:49:43 +0100 |
| commit | 9b27935f71ea94ba034d73c09c1f18df05fd33b6 (patch) | |
| tree | c1e7b116220d72f9e541ff4e7e5b108dd8a2f2aa /tests/unit/test_standalone_searx.py | |
| parent | 13a2b1a44d0e216d3750519239fab2c0abb142e4 (diff) | |
| parent | 02fc4147ce745325ff25146a8085a915a5d3cacd (diff) | |
Merge pull request #2225 from dalf/processors
Processors
Diffstat (limited to 'tests/unit/test_standalone_searx.py')
| -rw-r--r-- | tests/unit/test_standalone_searx.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/unit/test_standalone_searx.py b/tests/unit/test_standalone_searx.py index 74e31369f..06d70246a 100644 --- a/tests/unit/test_standalone_searx.py +++ b/tests/unit/test_standalone_searx.py @@ -8,8 +8,7 @@ import sys from mock import Mock, patch from nose2.tools import params -from searx.search import SearchQuery, EngineRef -from searx.engines import initialize_engines +from searx.search import SearchQuery, EngineRef, initialize from searx.testing import SearxTestCase @@ -30,7 +29,7 @@ class StandaloneSearx(SearxTestCase): def setUpClass(cls): engine_list = [{'engine': 'dummy', 'name': 'engine1', 'shortcut': 'e1'}] - initialize_engines(engine_list) + initialize(engine_list) def test_parse_argument_no_args(self): """Test parse argument without args.""" |