summaryrefslogtreecommitdiff
path: root/tests/unit/test_webadapter.py
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2020-12-17 11:49:43 +0100
committerGitHub <noreply@github.com>2020-12-17 11:49:43 +0100
commit9b27935f71ea94ba034d73c09c1f18df05fd33b6 (patch)
treec1e7b116220d72f9e541ff4e7e5b108dd8a2f2aa /tests/unit/test_webadapter.py
parent13a2b1a44d0e216d3750519239fab2c0abb142e4 (diff)
parent02fc4147ce745325ff25146a8085a915a5d3cacd (diff)
Merge pull request #2225 from dalf/processors
Processors
Diffstat (limited to 'tests/unit/test_webadapter.py')
-rw-r--r--tests/unit/test_webadapter.py4
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, [])