summaryrefslogtreecommitdiff
path: root/tests/unit/engines/test_bing_images.py
diff options
context:
space:
mode:
authorNoémi Ványi <sitbackandwait@gmail.com>2016-10-30 20:58:34 +0100
committerNoémi Ványi <sitbackandwait@gmail.com>2016-11-01 17:58:29 +0100
commit5c02b9ef3113feaf8e98621970f7836a74376c23 (patch)
tree6fe2f6fa9ac849021eb572b5e360a97610598df9 /tests/unit/engines/test_bing_images.py
parentd2e0cbafb265594a23389fe58b7889ff088560f6 (diff)
downloadsearxng-5c02b9ef3113feaf8e98621970f7836a74376c23.tar.gz
searxng-5c02b9ef3113feaf8e98621970f7836a74376c23.zip
add time range support for bing images
Diffstat (limited to 'tests/unit/engines/test_bing_images.py')
-rw-r--r--tests/unit/engines/test_bing_images.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unit/engines/test_bing_images.py b/tests/unit/engines/test_bing_images.py
index 9d8ec18af..cc256f51e 100644
--- a/tests/unit/engines/test_bing_images.py
+++ b/tests/unit/engines/test_bing_images.py
@@ -13,6 +13,7 @@ class TestBingImagesEngine(SearxTestCase):
dicto['pageno'] = 1
dicto['language'] = 'fr_FR'
dicto['safesearch'] = 1
+ dicto['time_range'] = ''
params = bing_images.request(query, dicto)
self.assertTrue('url' in params)
self.assertTrue(query in params['url'])