1
0
mirror of https://github.com/searx/searx synced 2024-12-12 16:56:47 +01:00
searx/tests/unit
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
..
engines refactor engine's search language handling 2018-03-27 00:08:03 -06:00
__init__.py [mod] remove buildout/makefile infrastructure 2016-01-10 19:23:10 +01:00
test_answerers.py [enh] add quick answer functionality with an example answerer 2016-11-19 20:53:51 +01:00
test_plugins.py [enh] py3 compatibility 2017-05-15 12:02:30 +02:00
test_preferences.py remove 'all' option from search languages 2017-12-06 01:20:15 -06:00
test_query.py remove 'all' option from search languages 2017-12-06 01:20:15 -06:00
test_results.py [mod] remove buildout/makefile infrastructure 2016-01-10 19:23:10 +01:00
test_search.py [mod] remove buildout/makefile infrastructure 2016-01-10 19:23:10 +01:00
test_utils.py refactor engine's search language handling 2018-03-27 00:08:03 -06:00
test_webapp.py change unresponsive_engines to a set to eliminate duplication of errors 2017-07-20 13:30:56 +02:00