mirror of
https://github.com/searxng/searxng.git
synced 2025-12-28 14:40:02 +00:00
[fix] time range detection
This commit is contained in:
@@ -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'])
|
||||
|
||||
Reference in New Issue
Block a user