diff options
author | Noémi Ványi <sitbackandwait@gmail.com> | 2016-10-30 20:26:38 +0100 |
---|---|---|
committer | Noémi Ványi <sitbackandwait@gmail.com> | 2016-11-01 17:58:29 +0100 |
commit | d2e0cbafb265594a23389fe58b7889ff088560f6 (patch) | |
tree | 8336b68f404384768f4c9aaa34b4d73d0fe0a198 /tests | |
parent | f70d405202ccec44849f8cd8d30ba37b254f2b69 (diff) | |
download | searxng-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.py | 1 |
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']) |