diff options
author | 0xhtml <34682885+0xhtml@users.noreply.github.com> | 2024-09-29 17:27:29 +0200 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarIT.de> | 2024-10-15 06:37:01 +0200 |
commit | 8b6a3f3e111e5581d90335378082bb8ef2cf06f4 (patch) | |
tree | 446204aa1620aefac255e76eaf849ab4a2713437 /tests | |
parent | 5b6f40414a9f8605140bd6fd66b66ac0b6d57e62 (diff) | |
download | searxng-8b6a3f3e111e5581d90335378082bb8ef2cf06f4.tar.gz searxng-8b6a3f3e111e5581d90335378082bb8ef2cf06f4.zip |
[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 |
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/test_locales.py | 2 |
1 files changed, 0 insertions, 2 deletions
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'), |