diff options
Diffstat (limited to 'tests/unit/processors/test_online.py')
-rw-r--r-- | tests/unit/processors/test_online.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unit/processors/test_online.py b/tests/unit/processors/test_online.py index 10e0deb97..fcb01587d 100644 --- a/tests/unit/processors/test_online.py +++ b/tests/unit/processors/test_online.py @@ -3,7 +3,7 @@ from searx.search import SearchQuery, EngineRef from searx.search.processors import online -from searx.engines import load_engines +import searx.search from searx import engines from tests import SearxTestCase @@ -22,10 +22,10 @@ TEST_ENGINE = { class TestOnlineProcessor(SearxTestCase): # pylint: disable=missing-class-docstring def setUp(self): - load_engines([TEST_ENGINE]) + searx.search.initialize([TEST_ENGINE]) def tearDown(self): - load_engines([]) + searx.search.load_engines([]) def _get_params(self, online_processor, search_query, engine_category): params = online_processor.get_params(search_query, engine_category) |