summaryrefslogtreecommitdiff
path: root/tests/unit/engines/test_google.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.py
parent3a8d193d1f746165df35e573f18c7abee970feb0 (diff)
downloadsearxng-350a84520d9da2499ffd5b0fbe6218692f2a330d.tar.gz
searxng-350a84520d9da2499ffd5b0fbe6218692f2a330d.zip
[fix] time range detection
Diffstat (limited to 'tests/unit/engines/test_google.py')
-rw-r--r--tests/unit/engines/test_google.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unit/engines/test_google.py b/tests/unit/engines/test_google.py
index 37a83cae3..8e73e2ab7 100644
--- a/tests/unit/engines/test_google.py
+++ b/tests/unit/engines/test_google.py
@@ -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'])