diff options
| author | d-tux <deniswernert@gmail.com> | 2019-01-08 09:24:45 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-01-08 09:24:45 +0100 |
| commit | 329172f66e7ad066f7cdd24db5d414c816ad8a80 (patch) | |
| tree | 426482bdcb8f5fd0b2f5e983ae4a0bbb17fc21d9 /tests/unit/engines/test_gigablast.py | |
| parent | 4a127b19de860a1f1e75f597dc0d53bfdd06e52e (diff) | |
| parent | 2438b3c77a3ad276aaeb15e5a54315d351a42273 (diff) | |
Merge branch 'master' into engines/unsplash
Diffstat (limited to 'tests/unit/engines/test_gigablast.py')
| -rw-r--r-- | tests/unit/engines/test_gigablast.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/unit/engines/test_gigablast.py b/tests/unit/engines/test_gigablast.py index f0ddb63bc..6b2d26458 100644 --- a/tests/unit/engines/test_gigablast.py +++ b/tests/unit/engines/test_gigablast.py @@ -11,11 +11,16 @@ class TestGigablastEngine(SearxTestCase): dicto = defaultdict(dict) dicto['pageno'] = 0 dicto['safesearch'] = 0 - dicto['language'] = 'en-US' + dicto['language'] = 'all' params = gigablast.request(query, dicto) self.assertTrue('url' in params) self.assertTrue(query in params['url']) self.assertTrue('gigablast.com' in params['url']) + self.assertTrue('xx' in params['url']) + + dicto['language'] = 'en-US' + params = gigablast.request(query, dicto) + self.assertTrue('en' in params['url']) self.assertFalse('en-US' in params['url']) def test_response(self): |