diff options
| author | Adam Tauber <asciimoo@gmail.com> | 2017-12-06 14:34:26 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-12-06 14:34:26 +0100 |
| commit | 49b845051f027cf9d29a20821968103a0f55c9d9 (patch) | |
| tree | 249693fb31423283ee21c5ded4bed844d7250f2e /tests/unit/engines/test_gigablast.py | |
| parent | df0b8ee5270a37642ccf5f42e95b0656aefc7fda (diff) | |
| parent | 4d1770398a6af8902e75c0bd885781584d39e796 (diff) | |
Merge pull request #973 from MarcAbonce/languages
Remove 'all' option from search languages
Diffstat (limited to 'tests/unit/engines/test_gigablast.py')
| -rw-r--r-- | tests/unit/engines/test_gigablast.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/unit/engines/test_gigablast.py b/tests/unit/engines/test_gigablast.py index 6b2d26458..f0ddb63bc 100644 --- a/tests/unit/engines/test_gigablast.py +++ b/tests/unit/engines/test_gigablast.py @@ -11,16 +11,11 @@ class TestGigablastEngine(SearxTestCase): dicto = defaultdict(dict) dicto['pageno'] = 0 dicto['safesearch'] = 0 - dicto['language'] = 'all' + dicto['language'] = 'en-US' 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): |