searxng/tests/unit
Alexandre Flament d14994dc73 [httpx] replace searx.poolrequests by searx.network
settings.yml:

* outgoing.networks:
   * can contains network definition
   * propertiers: enable_http, verify, http2, max_connections, max_keepalive_connections,
     keepalive_expiry, local_addresses, support_ipv4, support_ipv6, proxies, max_redirects, retries
   * retries: 0 by default, number of times searx retries to send the HTTP request (using different IP & proxy each time)
   * local_addresses can be "192.168.0.1/24" (it supports IPv6)
   * support_ipv4 & support_ipv6: both True by default
     see https://github.com/searx/searx/pull/1034
* each engine can define a "network" section:
   * either a full network description
   * either reference an existing network

* all HTTP requests of engine use the same HTTP configuration (it was not the case before, see proxy configuration in master)
2021-04-12 17:25:56 +02:00
..
engines [mod] remove unused import 2020-11-14 14:11:02 +01:00
network [httpx] replace searx.poolrequests by searx.network 2021-04-12 17:25:56 +02:00
settings [fix] settings_loader: don't crash when a key exists only in the user settings 2020-12-03 11:35:12 +01:00
__init__.py
test_answerers.py Drop Python 2 (1/n): remove unicode string and url_utils 2020-09-10 10:39:04 +02:00
test_engines_init.py [fix] test: avoid HTTP requests 2021-04-10 15:38:27 +02:00
test_external_bangs.py [mod] add utils/fetch_external_bangs.py 2021-02-24 18:48:36 +01:00
test_plugins.py [mod] pylint: numerous minor code fixes 2020-12-01 15:21:19 +01:00
test_preferences.py [mod] pylint: numerous minor code fixes 2020-12-01 15:21:19 +01:00
test_query.py [fix] test: avoid HTTP requests 2021-04-10 15:38:27 +02:00
test_results.py
test_search.py [mod] searx.search.EngineRef: remove from_bang parameter 2020-12-18 12:29:48 +01:00
test_settings_loader.py [enh] settings.yml: add use_default_settings option (2nd version) 2020-11-27 19:40:04 +01:00
test_standalone_searx.py Add searx_extra package 2021-03-04 11:59:14 +01:00
test_utils.py [enh] record details exception per engine 2020-12-03 10:22:48 +01:00
test_webadapter.py [mod] split searx.search into different processors 2020-12-17 11:39:36 +01:00
test_webapp.py [fix] test: avoid HTTP requests 2021-04-10 15:38:27 +02:00
test_webutils.py Updated webutils.highlight_content to ignore double-quotes when highlighting query parts 2021-02-08 23:58:54 -05:00