diff options
author | marc <a01200356@itesm.mx> | 2017-05-27 20:55:23 -0500 |
---|---|---|
committer | marc <a01200356@itesm.mx> | 2017-05-27 21:12:39 -0500 |
commit | 3b950929b10068f08a0ccd877d43e7551bfde71f (patch) | |
tree | f7f78295ae5d791cb7dfbe1ff9fa739d15f501fc /tests | |
parent | c65a409f0d2728ba5a0c3ffa1a0cb05659033a71 (diff) | |
download | searxng-3b950929b10068f08a0ccd877d43e7551bfde71f.tar.gz searxng-3b950929b10068f08a0ccd877d43e7551bfde71f.zip |
[fix] fix duckduckgo's offset
First page now starts with 0 offset,
rather than starting on the 30th result.
DuckDuckGo returns 30 results on each page.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/engines/test_duckduckgo.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unit/engines/test_duckduckgo.py b/tests/unit/engines/test_duckduckgo.py index 8502a2e51..eea478971 100644 --- a/tests/unit/engines/test_duckduckgo.py +++ b/tests/unit/engines/test_duckduckgo.py @@ -18,6 +18,7 @@ class TestDuckduckgoEngine(SearxTestCase): self.assertIn(query, params['url']) self.assertIn('duckduckgo.com', params['url']) self.assertIn('ch-de', params['url']) + self.assertIn('s=0', params['url']) # when ddg uses non standard code dicto['language'] = 'en-GB' |