You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
searxng/tests/unit
Léo Bourrel 88261e111c Fix bing engine results count (#1387)
This PR fixes the result count from bing which was throwing an (hidden) error and add a validation to avoid reading more results than avalaible.

For example :
If there is 100 results from some search and we try to get results from 120 to 130, Bing will send back the results from 0 to 10 and no error. If we compare results count with the first parameter of the request we can avoid this "invalid" results.
5 years ago
..
engines Fix bing engine results count (#1387) 5 years ago
__init__.py [mod] remove buildout/makefile infrastructure 9 years ago
test_answerers.py [enh] add quick answer functionality with an example answerer 8 years ago
test_plugins.py [enh] py3 compatibility 7 years ago
test_preferences.py [fix] preference query parameter decoding (#1599) 5 years ago
test_query.py [enh] Add timeout limit per request (#1640) 5 years ago
test_results.py [mod] remove buildout/makefile infrastructure 9 years ago
test_search.py [enh] Add timeout limit per request (#1640) 5 years ago
test_utils.py [fix] fix flickr_noapi decoding (#1655) 5 years ago
test_webapp.py [fix] fix monkey patch in test_webapp.py (#1667) 5 years ago