summaryrefslogtreecommitdiff
path: root/tests/unit/engines/test_google_news.py
diff options
context:
space:
mode:
authorMarc Abonce Seguin <marc-abonce@mailbox.org>2018-11-25 23:32:48 -0600
committerMarc Abonce Seguin <marc-abonce@mailbox.org>2019-01-06 20:31:57 -0600
commit5568f24d6ca9ae9a7eca27c107982b2689e40105 (patch)
treec67749e9dfeb4a27cef9a550fe366b291ead3373 /tests/unit/engines/test_google_news.py
parent3c95d64ff8f5f42a69b05d721265c6e484edc451 (diff)
[fix] check language aliases when setting search language
Diffstat (limited to 'tests/unit/engines/test_google_news.py')
-rw-r--r--tests/unit/engines/test_google_news.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unit/engines/test_google_news.py b/tests/unit/engines/test_google_news.py
index a041a79b9..f363444be 100644
--- a/tests/unit/engines/test_google_news.py
+++ b/tests/unit/engines/test_google_news.py
@@ -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