searxngRebrandZaclys/tests/unit/engines
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.
2019-08-05 16:15:40 +02:00
..
__init__.py [mod] remove buildout/makefile infrastructure 2016-01-10 19:23:10 +01:00
pubmed.py [add] pubmed engine 2017-11-01 17:02:38 +01:00
seedpeer_fixture.html Put html fixture in file to be pep8 line length compliant 2016-09-05 15:37:20 -04:00
test_acgsou.py Fix acgsou encoding error on python2 and add unicode characters to unit testt 2018-05-05 23:41:13 +03:00
test_archlinux.py Revert "remove 'all' option from search languages" 2019-01-07 21:19:00 +01:00
test_arxiv.py [fix] arxiv engine 2019-08-05 15:43:01 +02:00
test_base.py minor fix of BASE engine 2017-11-01 17:02:38 +01:00
test_bing.py Fix bing engine results count (#1387) 2019-08-05 16:15:40 +02:00
test_bing_images.py [enh] bing_images: use data from embedded JSON to improve results (e.g. real page title) (#1568) 2019-07-27 08:22:02 +02:00
test_bing_news.py Revert "remove 'all' option from search languages" 2019-01-07 21:19:00 +01:00
test_bing_videos.py [fix] bing_videos (#1579) 2019-07-27 17:49:30 +02:00
test_btdigg.py [mod] restore btdigg engine as btdig.com (#1515) 2019-07-25 08:40:48 +02:00
test_currency_convert.py Fix string length 2018-04-23 12:55:25 +03:00
test_dailymotion.py Revert "remove 'all' option from search languages" 2019-01-07 21:19:00 +01:00
test_deezer.py [fix] tests ++ flickr error 2016-12-09 19:11:22 +01:00
test_deviantart.py add year filter to engines with time range support && tests 2016-12-11 16:58:31 +01:00
test_digbt.py [enh] py3 compatibility 2017-05-15 12:02:30 +02:00
test_digg.py [mod] remove buildout/makefile infrastructure 2016-01-10 19:23:10 +01:00
test_doku.py Fix pep8 about too long lines 2016-04-04 13:38:57 +02:00
test_duckduckgo.py refactor engine's search language handling 2018-03-27 00:08:03 -06:00
test_duckduckgo_definitions.py refactor engine's search language handling 2018-03-27 00:08:03 -06:00
test_duckduckgo_images.py [fix] duckduckgo images requests 2019-04-13 00:38:37 -05:00
test_duden.py [fix] fix duden engine (#1594) 2019-07-25 08:17:45 +02:00
test_dummy.py [mod] remove buildout/makefile infrastructure 2016-01-10 19:23:10 +01:00
test_faroo.py Revert "remove 'all' option from search languages" 2019-01-07 21:19:00 +01:00
test_fdroid.py [fix] fdroid engine 2019-08-05 15:44:02 +02:00
test_flickr.py [fix] tests ++ flickr error 2016-12-09 19:11:22 +01:00
test_flickr_noapi.py [enh] flickr_noapi: use complete JSON data block, add 'content', 'img_format', 'source', etc. (#1571) 2019-07-28 10:42:00 +02:00
test_framalibre.py Add framalibre engine 2017-03-22 00:18:23 +01:00
test_frinkiac.py [enh] py3 compatibility 2017-05-15 12:02:30 +02:00
test_genius.py remove unicode characters 2017-08-21 11:45:23 -05:00
test_gigablast.py Revert "remove 'all' option from search languages" 2019-01-07 21:19:00 +01:00
test_github.py [mod] remove buildout/makefile infrastructure 2016-01-10 19:23:10 +01:00
test_google.py [fix] fetch google's supported languages 2019-01-06 21:31:45 -06:00
test_google_images.py [fix] remove obsolete test 2018-06-14 11:47:42 +02:00
test_google_news.py Revert "remove 'all' option from search languages" 2019-01-07 21:19:00 +01:00
test_google_videos.py [fix] google videos test 2019-01-04 16:04:05 +01:00
test_ina.py Fix anomalous backslash in string 2016-07-11 23:53:13 +07:00
test_kickass.py [fix] kickass test html escaping 2016-12-09 19:20:55 +01:00
test_mediawiki.py Revert "remove 'all' option from search languages" 2019-01-07 21:19:00 +01:00
test_mixcloud.py Fix anomalous backslash in string 2016-07-11 23:53:13 +07:00
test_nyaa.py [fix] nyaa.si fixed 2017-08-31 21:32:30 +02:00
test_openstreetmap.py [mod] remove buildout/makefile infrastructure 2016-01-10 19:23:10 +01:00
test_pdbe.py [fix] pdbe test 2017-12-01 20:58:40 +01:00
test_photon.py [mod] remove buildout/makefile infrastructure 2016-01-10 19:23:10 +01:00
test_piratebay.py follow up tests 2018-05-21 18:15:49 +02:00
test_qwant.py Revert "remove 'all' option from search languages" 2019-01-07 21:19:00 +01:00
test_reddit.py Update Reddit unit test -- check for img_src 2016-04-16 16:45:49 +06:00
test_scanr_structures.py Add ScanR structures search engine 2016-07-12 15:47:04 +02:00
test_searchcode_code.py Fix anomalous backslash in string 2016-07-11 23:53:13 +07:00
test_searchcode_doc.py [fix] tests ++ flickr error 2016-12-09 19:11:22 +01:00
test_soundcloud.py [enh] py3 compatibility 2017-05-15 12:02:30 +02:00
test_spotify.py [fix] tests ++ flickr error 2016-12-09 19:11:22 +01:00
test_stackoverflow.py [mod] remove buildout/makefile infrastructure 2016-01-10 19:23:10 +01:00
test_startpage.py Revert "remove 'all' option from search languages" 2019-01-07 21:19:00 +01:00
test_tokyotoshokan.py [enh] py3 compatibility 2017-05-15 12:02:30 +02:00
test_torrentz.py [fix]torrentz unit_tests timezone fix 2017-08-29 17:54:41 +02:00
test_twitter.py Revert "remove 'all' option from search languages" 2019-01-07 21:19:00 +01:00
test_unsplash.py Removes what looks like tracking parameters 2018-10-08 14:56:20 +02:00
test_vimeo.py [fix] vimeo engine change follow-up 2016-12-11 02:33:04 +01:00
test_wikidata.py [fix] wikidata engine: faster processing, remove one HTTP redirection. 2019-07-29 07:39:39 +02:00
test_wikipedia.py fix after rebase 2019-01-07 21:28:58 +01:00
test_wolframalpha_api.py [fix] unicode error with WolframAlpha API engine 2019-01-08 21:02:23 -06:00
test_wolframalpha_noapi.py fix tests to reflect: Wolfram|Alpha (input) response 2016-09-10 18:04:24 -04:00
test_www1x.py [mod] remove buildout/makefile infrastructure 2016-01-10 19:23:10 +01:00
test_yacy.py Revert "remove 'all' option from search languages" 2019-01-07 21:19:00 +01:00
test_yahoo.py Revert "remove 'all' option from search languages" 2019-01-07 21:19:00 +01:00
test_yahoo_news.py Revert "remove 'all' option from search languages" 2019-01-07 21:19:00 +01:00
test_youtube_api.py [mod] remove buildout/makefile infrastructure 2016-01-10 19:23:10 +01:00
test_youtube_noapi.py [fix] get youtube results from js object 2019-03-26 21:09:15 -06:00
unsplash_fixture.json Adds a unit test for the unsplash engine 2018-10-08 14:01:55 +02:00