summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorNoémi Ványi <sitbackandwait@gmail.com>2016-10-30 18:14:42 +0100
committerNoémi Ványi <sitbackandwait@gmail.com>2016-11-01 17:58:29 +0100
commitf70d405202ccec44849f8cd8d30ba37b254f2b69 (patch)
treefbf4af78a1b38fe5d1bf3f08d3ec90a851f85c97 /tests
parente3d748ded435aad8f1b11a4870011ae52e7c838f (diff)
downloadsearxng-f70d405202ccec44849f8cd8d30ba37b254f2b69.tar.gz
searxng-f70d405202ccec44849f8cd8d30ba37b254f2b69.zip
add time range search for bing news
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/engines/test_bing_news.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unit/engines/test_bing_news.py b/tests/unit/engines/test_bing_news.py
index a64d59b7b..a909defec 100644
--- a/tests/unit/engines/test_bing_news.py
+++ b/tests/unit/engines/test_bing_news.py
@@ -12,6 +12,7 @@ class TestBingNewsEngine(SearxTestCase):
dicto = defaultdict(dict)
dicto['pageno'] = 1
dicto['language'] = 'fr_FR'
+ dicto['time_range'] = ''
params = bing_news.request(query, dicto)
self.assertIn('url', params)
self.assertIn(query, params['url'])