mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
[fix] check language aliases when setting search language
This commit is contained in:
parent
3c95d64ff8
commit
5568f24d6c
16 changed files with 29 additions and 11 deletions
|
|
@ -8,6 +8,7 @@ class TestSwisscowsEngine(SearxTestCase):
|
|||
|
||||
def test_request(self):
|
||||
swisscows.supported_languages = ['de-AT', 'de-DE']
|
||||
swisscows.language_aliases = {}
|
||||
query = 'test_query'
|
||||
dicto = defaultdict(dict)
|
||||
dicto['pageno'] = 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue