diff options
| author | Noémi Ványi <kvch@users.noreply.github.com> | 2019-01-07 20:38:05 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-01-07 20:38:05 +0100 |
| commit | 491792c1a58f71083f6af663bb6d93e40fa44c9f (patch) | |
| tree | 18d6b7072a2ac8de4e357f9a013c9310589dd2c9 /tests/unit/engines/test_wikidata.py | |
| parent | 35d82ed6609c8cf5d905493e1593f2cfe57ae88d (diff) | |
| parent | 1a850cf171a2820b3bf52459c4c761e372f90996 (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_wikidata.py')
| -rw-r--r-- | tests/unit/engines/test_wikidata.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unit/engines/test_wikidata.py b/tests/unit/engines/test_wikidata.py index 62a409781..e5870fd00 100644 --- a/tests/unit/engines/test_wikidata.py +++ b/tests/unit/engines/test_wikidata.py @@ -27,6 +27,7 @@ class TestWikidataEngine(SearxTestCase): self.assertRaises(AttributeError, wikidata.response, '[]') wikidata.supported_languages = ['en', 'es'] + wikidata.language_aliases = {} response = mock.Mock(text='<html></html>', search_params={"language": "en"}) self.assertEqual(wikidata.response(response), []) |