mirror of
https://github.com/searxng/searxng.git
synced 2025-08-02 18:12:21 +02:00
add time range search for bing news
This commit is contained in:
parent
e3d748ded4
commit
f70d405202
2 changed files with 20 additions and 5 deletions
|
@ -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'])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue