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_webadapter.py | |
| parent | 13a2b1a44d0e216d3750519239fab2c0abb142e4 (diff) | |
| parent | 02fc4147ce745325ff25146a8085a915a5d3cacd (diff) | |
Merge pull request #2225 from dalf/processors
Processors
Diffstat (limited to 'tests/unit/test_webadapter.py')
| -rw-r--r-- | tests/unit/test_webadapter.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/test_webadapter.py b/tests/unit/test_webadapter.py index f620cf300..32417f019 100644 --- a/tests/unit/test_webadapter.py +++ b/tests/unit/test_webadapter.py @@ -17,7 +17,7 @@ TEST_ENGINES = [ 'categories': 'general', 'shortcut': 'do', 'timeout': 3.0, - 'offline': True, + 'engine_type': 'offline', 'tokens': ['my-token'], }, ] @@ -28,7 +28,7 @@ class ValidateQueryCase(SearxTestCase): @classmethod def setUpClass(cls): - searx.engines.initialize_engines(TEST_ENGINES) + searx.search.initialize(TEST_ENGINES) def test_query_private_engine_without_token(self): preferences = Preferences(['oscar'], ['general'], engines, []) |