mirror of
https://github.com/searxng/searxng.git
synced 2025-08-03 10:32:21 +02: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
|
@ -10,6 +10,7 @@ class TestGoogleNewsEngine(SearxTestCase):
|
|||
|
||||
def test_request(self):
|
||||
google_news.supported_languages = ['en-US', 'fr-FR']
|
||||
google_news.language_aliases = {}
|
||||
query = 'test_query'
|
||||
dicto = defaultdict(dict)
|
||||
dicto['pageno'] = 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue