diff options
| author | Noémi Ványi <kvch@users.noreply.github.com> | 2019-01-07 21:35:40 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-01-07 21:35:40 +0100 |
| commit | 2438b3c77a3ad276aaeb15e5a54315d351a42273 (patch) | |
| tree | 00d4783b39625ca01c61aa4f04cb88250b21dffc /tests/unit/engines/test_wikidata.py | |
| parent | 491792c1a58f71083f6af663bb6d93e40fa44c9f (diff) | |
| parent | 97351a2c725ce620d452c62da07379130bafdb95 (diff) | |
Merge pull request #1475 from kvch/add-all-language-option-again
Revert "remove 'all' option from search languages"
Diffstat (limited to 'tests/unit/engines/test_wikidata.py')
| -rw-r--r-- | tests/unit/engines/test_wikidata.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/unit/engines/test_wikidata.py b/tests/unit/engines/test_wikidata.py index e5870fd00..347defb71 100644 --- a/tests/unit/engines/test_wikidata.py +++ b/tests/unit/engines/test_wikidata.py @@ -11,11 +11,13 @@ class TestWikidataEngine(SearxTestCase): def test_request(self): query = 'test_query' dicto = defaultdict(dict) + dicto['language'] = 'all' params = wikidata.request(query, dicto) self.assertIn('url', params) self.assertIn(query, params['url']) self.assertIn('wikidata.org', params['url']) + dicto['language'] = 'es_ES' params = wikidata.request(query, dicto) self.assertIn(query, params['url']) |