summaryrefslogtreecommitdiff
path: root/tests/unit/engines/test_google_images.py
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2016-07-26 00:22:05 +0200
committerAdam Tauber <asciimoo@gmail.com>2016-07-26 00:28:48 +0200
commit350a84520d9da2499ffd5b0fbe6218692f2a330d (patch)
tree03dd22bea46a817084d782feef8df63f8cd2b375 /tests/unit/engines/test_google_images.py
parent3a8d193d1f746165df35e573f18c7abee970feb0 (diff)
[fix] time range detection
Diffstat (limited to 'tests/unit/engines/test_google_images.py')
-rw-r--r--tests/unit/engines/test_google_images.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unit/engines/test_google_images.py b/tests/unit/engines/test_google_images.py
index 5f184e00c..1cfba60b3 100644
--- a/tests/unit/engines/test_google_images.py
+++ b/tests/unit/engines/test_google_images.py
@@ -11,6 +11,7 @@ class TestGoogleImagesEngine(SearxTestCase):
dicto = defaultdict(dict)
dicto['pageno'] = 1
dicto['safesearch'] = 1
+ dicto['time_range'] = ''
params = google_images.request(query, dicto)
self.assertIn('url', params)
self.assertIn(query, params['url'])