diff options
author | marc <a01200356@itesm.mx> | 2016-10-29 21:04:01 -0500 |
---|---|---|
committer | marc <a01200356@itesm.mx> | 2016-12-13 19:32:43 -0600 |
commit | a11948c71bfe7b2aac6e50e7634874d5073c7d84 (patch) | |
tree | c5d5c52ca459ba89b2e36d2e87ce3e250be6c896 /tests/unit/engines/test_wikipedia.py | |
parent | a11230819ff76312b4528b2bfb6e03d0560075b1 (diff) | |
download | searxng-a11948c71bfe7b2aac6e50e7634874d5073c7d84.tar.gz searxng-a11948c71bfe7b2aac6e50e7634874d5073c7d84.zip |
Add language support for more engines.
Diffstat (limited to 'tests/unit/engines/test_wikipedia.py')
-rw-r--r-- | tests/unit/engines/test_wikipedia.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/engines/test_wikipedia.py b/tests/unit/engines/test_wikipedia.py index d1c44036d..431cf69c7 100644 --- a/tests/unit/engines/test_wikipedia.py +++ b/tests/unit/engines/test_wikipedia.py @@ -10,7 +10,7 @@ class TestWikipediaEngine(SearxTestCase): def test_request(self): query = 'test_query' dicto = defaultdict(dict) - dicto['language'] = 'fr_FR' + dicto['language'] = 'fr-FR' params = wikipedia.request(query, dicto) self.assertIn('url', params) self.assertIn(query, params['url']) |