From 8b6a3f3e111e5581d90335378082bb8ef2cf06f4 Mon Sep 17 00:00:00 2001 From: 0xhtml <34682885+0xhtml@users.noreply.github.com> Date: Sun, 29 Sep 2024 17:27:29 +0200 Subject: [enh] engine: mojeek - add language support Improve region and language detection / all locale Testing has shown the following behaviour for the different default and empty values of Mojeeks parameters: | param | idx | value | behaviour | | -------- | --- | ------ | ------------------------- | | region | 0 | '' | detect region based on IP | | region | 1 | 'none' | all regions | | language | 0 | '' | all languages | --- tests/unit/test_locales.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'tests/unit') diff --git a/tests/unit/test_locales.py b/tests/unit/test_locales.py index 37cc187da..cf22563e0 100644 --- a/tests/unit/test_locales.py +++ b/tests/unit/test_locales.py @@ -32,12 +32,10 @@ class TestLocales(SearxTestCase): @parameterized.expand( [ - ('ca-es', 'ca-ES'), ('de-at', 'de-AT'), ('de-de', 'de-DE'), ('en-UK', 'en-GB'), ('fr-be', 'fr-BE'), - ('fr-be', 'fr-BE'), ('fr-ca', 'fr-CA'), ('fr-ch', 'fr-CH'), ('zh-cn', 'zh-CN'), -- cgit v1.2.3