summaryrefslogtreecommitdiff
path: root/tests/unit/engines/test_google_news.py
diff options
context:
space:
mode:
authorNoémi Ványi <kvch@users.noreply.github.com>2019-01-07 20:38:05 +0100
committerGitHub <noreply@github.com>2019-01-07 20:38:05 +0100
commit491792c1a58f71083f6af663bb6d93e40fa44c9f (patch)
tree18d6b7072a2ac8de4e357f9a013c9310589dd2c9 /tests/unit/engines/test_google_news.py
parent35d82ed6609c8cf5d905493e1593f2cfe57ae88d (diff)
parent1a850cf171a2820b3bf52459c4c761e372f90996 (diff)
Merge pull request #1446 from MarcAbonce/language_aliases_fix
[fix] Fix queries in Hebrew and Norwegian so they give results in the right 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