diff options
author | Alexandre Flament <alex@al-f.net> | 2020-11-16 15:01:34 +0100 |
---|---|---|
committer | Alexandre Flament <alex@al-f.net> | 2020-11-17 15:09:06 +0100 |
commit | 9c25cd99c4b2bbeeb96f0a4efc3b2c21b06e1881 (patch) | |
tree | 835c15bac5747abab8e5b8c98a15329dd81bc818 /tests/unit | |
parent | a30d9f26556b9445ecb909ea2f3d88aebd6c44e7 (diff) | |
download | searxng-9c25cd99c4b2bbeeb96f0a4efc3b2c21b06e1881.tar.gz searxng-9c25cd99c4b2bbeeb96f0a4efc3b2c21b06e1881.zip |
[mod] use github actions instead of travis
fix https://github.com/searx/searx/issues/2279
Diffstat (limited to 'tests/unit')
-rw-r--r-- | tests/unit/test_standalone_searx.py | 6 |
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): |