searxngRebrandZaclys/tests/unit/engines
Marc Abonce Seguin 772c048d01 refactor engine's search language handling
Add match_language function in utils to match any user given
language code with a list of engine's supported languages.

Also add language_aliases dict on each engine to translate
standard language codes into the custom codes used by the engine.
2018-03-27 00:08:03 -06: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_archlinux.py refactor engine's search language handling 2018-03-27 00:08:03 -06:00
test_arxiv.py minor fixes of arxiv 2017-11-01 14:22:22 +01:00
test_base.py minor fix of BASE engine 2017-11-01 17:02:38 +01:00
test_bing.py refactor engine's search language handling 2018-03-27 00:08:03 -06:00
test_bing_images.py refactor engine's search language handling 2018-03-27 00:08:03 -06:00
test_bing_news.py refactor engine's search language handling 2018-03-27 00:08:03 -06:00
test_bing_videos.py refactor engine's search language handling 2018-03-27 00:08:03 -06:00
test_btdigg.py [enh] py3 compatibility 2017-05-15 12:02:30 +02:00
test_currency_convert.py Fixed unittests. 2017-11-07 14:49:10 +00:00
test_dailymotion.py refactor engine's search language handling 2018-03-27 00:08:03 -06: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 refactor engine's search language handling 2018-03-27 00:08:03 -06:00
test_dummy.py [mod] remove buildout/makefile infrastructure 2016-01-10 19:23:10 +01:00
test_faroo.py remove 'all' option from search languages 2017-12-06 01:20:15 -06:00
test_fdroid.py Add F-Droid search engine 2016-03-27 03:50:44 +06:00
test_flickr.py [fix] tests ++ flickr error 2016-12-09 19:11:22 +01:00
test_flickr_noapi.py [fix] tests ++ flickr error 2016-12-09 19:11:22 +01: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 remove 'all' option from search languages 2017-12-06 01:20:15 -06:00
test_github.py [mod] remove buildout/makefile infrastructure 2016-01-10 19:23:10 +01:00
test_google.py refactor engine's search language handling 2018-03-27 00:08:03 -06:00
test_google_images.py [fix] google images paging - closes #571 2016-08-13 01:13:41 +02:00
test_google_news.py refactor engine's search language handling 2018-03-27 00:08:03 -06:00
test_google_videos.py add google videos 2017-07-26 15:49:16 +02: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 remove 'all' option from search languages 2017-12-06 01:20:15 -06: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 [mod] remove buildout/makefile infrastructure 2016-01-10 19:23:10 +01:00
test_qwant.py refactor engine's search language handling 2018-03-27 00:08:03 -06: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_seedpeer.py Put html fixture in file to be pep8 line length compliant 2016-09-05 15:37:20 -04: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 remove 'all' option from search languages 2017-12-06 01:20:15 -06:00
test_subtitleseeker.py remove 'all' option from search languages 2017-12-06 01:20:15 -06:00
test_swisscows.py refactor engine's search language handling 2018-03-27 00:08:03 -06: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 remove 'all' option from search languages 2017-12-06 01:20:15 -06:00
test_vimeo.py [fix] vimeo engine change follow-up 2016-12-11 02:33:04 +01:00
test_wikidata.py refactor engine's search language handling 2018-03-27 00:08:03 -06:00
test_wikipedia.py remove 'all' option from search languages 2017-12-06 01:20:15 -06:00
test_wolframalpha_api.py [enh] py3 compatibility 2017-05-15 12:02:30 +02: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_www500px.py [fix] 500px unit tests 2016-12-11 03:30:13 +01:00
test_yacy.py remove 'all' option from search languages 2017-12-06 01:20:15 -06:00
test_yahoo.py refactor engine's search language handling 2018-03-27 00:08:03 -06:00
test_yahoo_news.py refactor engine's search language handling 2018-03-27 00:08:03 -06:00
test_youtube_api.py [mod] remove buildout/makefile infrastructure 2016-01-10 19:23:10 +01:00
test_youtube_noapi.py add year to time range to engines which support "Last year" 2016-12-11 16:58:31 +01:00