mirror of
https://github.com/searxng/searxng.git
synced 2026-06-01 15:37:16 +02:00
[fix] check language aliases when setting search language
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user