[fix] time range detection

This commit is contained in:
Adam Tauber 2016-07-26 00:22:05 +02:00
parent 3a8d193d1f
commit 350a84520d
10 changed files with 10 additions and 7 deletions

View file

@ -19,6 +19,7 @@ class TestGoogleEngine(SearxTestCase):
dicto = defaultdict(dict)
dicto['pageno'] = 1
dicto['language'] = 'fr_FR'
dicto['time_range'] = ''
params = google.request(query, dicto)
self.assertIn('url', params)
self.assertIn(query, params['url'])