diff options
| author | Alexandre Flament <alex@al-f.net> | 2020-12-17 13:51:57 +0100 |
|---|---|---|
| committer | Alexandre Flament <alex@al-f.net> | 2020-12-18 12:29:48 +0100 |
| commit | 995ba2f40643bd01134902eca91cacf0bab1ebdc (patch) | |
| tree | 4e0a0095686d9e5193f7b5db168d87a65e9ddc41 /tests/unit/test_standalone_searx.py | |
| parent | 14c7cc0e118f1d0873b32b34793cdec2c5c9c13e (diff) | |
[mod] searx.search.SearchQuery: remove categories parameter
The categories parameter is useless in the constructor:
it is always the categories from the EngineRef.
The categories becomes a property.
Diffstat (limited to 'tests/unit/test_standalone_searx.py')
| -rw-r--r-- | tests/unit/test_standalone_searx.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/test_standalone_searx.py b/tests/unit/test_standalone_searx.py index 06d70246a..d16bfe809 100644 --- a/tests/unit/test_standalone_searx.py +++ b/tests/unit/test_standalone_searx.py @@ -102,7 +102,7 @@ class StandaloneSearx(SearxTestCase): search_q = sas.get_search_query(args) self.assertTrue(search_q) self.assertEqual(search_q, SearchQuery('rain', [EngineRef('engine1', 'general', False)], - ['general'], 'all', 0, 1, None, None, None)) + 'all', 0, 1, None, None, None)) def test_no_parsed_url(self): """test no_parsed_url func""" |