summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorNoémi Ványi <sitbackandwait@gmail.com>2016-10-30 20:26:38 +0100
committerNoémi Ványi <sitbackandwait@gmail.com>2016-11-01 17:58:29 +0100
commitd2e0cbafb265594a23389fe58b7889ff088560f6 (patch)
tree8336b68f404384768f4c9aaa34b4d73d0fe0a198 /tests
parentf70d405202ccec44849f8cd8d30ba37b254f2b69 (diff)
downloadsearxng-d2e0cbafb265594a23389fe58b7889ff088560f6.tar.gz
searxng-d2e0cbafb265594a23389fe58b7889ff088560f6.zip
add time range search for youtube noapi
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/engines/test_youtube_noapi.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unit/engines/test_youtube_noapi.py b/tests/unit/engines/test_youtube_noapi.py
index 9fa8fd20e..986441b51 100644
--- a/tests/unit/engines/test_youtube_noapi.py
+++ b/tests/unit/engines/test_youtube_noapi.py
@@ -11,6 +11,7 @@ class TestYoutubeNoAPIEngine(SearxTestCase):
query = 'test_query'
dicto = defaultdict(dict)
dicto['pageno'] = 0
+ dicto['time_range'] = ''
params = youtube_noapi.request(query, dicto)
self.assertIn('url', params)
self.assertIn(query, params['url'])