summaryrefslogtreecommitdiff
path: root/searx/tests/engines/test_gigablast.py
diff options
context:
space:
mode:
authorThomas Pointhuber <thomas.pointhuber@gmx.at>2015-12-23 18:43:35 +0100
committerThomas Pointhuber <thomas.pointhuber@gmx.at>2015-12-23 18:43:35 +0100
commitb9a9abe10d569f15755bf8a6833adc9f425a2b2d (patch)
tree0adf97a82c48e5e5deaef0063c91e54e59e5c227 /searx/tests/engines/test_gigablast.py
parent371fc09b6f2afa9e4f0b3a367760c407615b8e53 (diff)
downloadsearxng-b9a9abe10d569f15755bf8a6833adc9f425a2b2d.tar.gz
searxng-b9a9abe10d569f15755bf8a6833adc9f425a2b2d.zip
[enh] improve gigablast engine
add language and safesearch support
Diffstat (limited to 'searx/tests/engines/test_gigablast.py')
-rw-r--r--searx/tests/engines/test_gigablast.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/searx/tests/engines/test_gigablast.py b/searx/tests/engines/test_gigablast.py
index 38264913f..4ae0c51a9 100644
--- a/searx/tests/engines/test_gigablast.py
+++ b/searx/tests/engines/test_gigablast.py
@@ -10,6 +10,7 @@ class TestGigablastEngine(SearxTestCase):
query = 'test_query'
dicto = defaultdict(dict)
dicto['pageno'] = 0
+ dicto['language'] = 'all'
params = gigablast.request(query, dicto)
self.assertTrue('url' in params)
self.assertTrue(query in params['url'])