summaryrefslogtreecommitdiff
path: root/tests/unit
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/test_standalone_searx.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/unit/test_standalone_searx.py b/tests/unit/test_standalone_searx.py
index 40d43e4e7..74e31369f 100644
--- a/tests/unit/test_standalone_searx.py
+++ b/tests/unit/test_standalone_searx.py
@@ -28,8 +28,7 @@ class StandaloneSearx(SearxTestCase):
@classmethod
def setUpClass(cls):
- engine_list = [{'engine': 'dummy', 'name': 'engine1', 'shortcut': 'e1'},
- {'engine': 'dummy', 'name': 'engine2', 'shortcut': 'e2'}]
+ engine_list = [{'engine': 'dummy', 'name': 'engine1', 'shortcut': 'e1'}]
initialize_engines(engine_list)
@@ -103,8 +102,7 @@ class StandaloneSearx(SearxTestCase):
args = sas.parse_argument(['rain', ])
search_q = sas.get_search_query(args)
self.assertTrue(search_q)
- self.assertEqual(search_q, SearchQuery('rain', [EngineRef('engine1', 'general', False),
- EngineRef('engine2', 'general', False)],
+ self.assertEqual(search_q, SearchQuery('rain', [EngineRef('engine1', 'general', False)],
['general'], 'all', 0, 1, None, None, None))
def test_no_parsed_url(self):