mirror of
https://github.com/searxng/searxng.git
synced 2025-08-02 18:12:21 +02:00
[fix] time range detection
This commit is contained in:
parent
3a8d193d1f
commit
350a84520d
10 changed files with 10 additions and 7 deletions
|
@ -12,6 +12,7 @@ class TestDuckduckgoEngine(SearxTestCase):
|
|||
dicto = defaultdict(dict)
|
||||
dicto['pageno'] = 1
|
||||
dicto['language'] = 'de_CH'
|
||||
dicto['time_range'] = ''
|
||||
params = duckduckgo.request(query, dicto)
|
||||
self.assertIn('url', params)
|
||||
self.assertIn(query, params['url'])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue