mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-11-27 19:35:06 +00:00
refactor(proxies): apply a service proxy_map before the proxy resolves
This commit is contained in:
@@ -127,8 +127,8 @@ SERVED_LOGIN: LaunchKeys = {"served": True, "cookies_supplied": False}
|
||||
@pytest.mark.parametrize(
|
||||
("build", "expected"),
|
||||
[
|
||||
(cli_dl, {"proxy_arg": "us", "proxy_query": "us", "proxy_provider": None}),
|
||||
(cli_search, {"proxy_arg": "us", "proxy_query": "us", "proxy_provider": None}),
|
||||
(cli_dl, {"proxy_arg": "us", "proxy_query": "us"}),
|
||||
(cli_search, {"proxy_arg": "us", "proxy_query": "us"}),
|
||||
(rest_relay, {"served": True, "client_argv": "serve (REST API)"}),
|
||||
(rest_list, SERVED_LOGIN),
|
||||
(rest_search, SERVED_LOGIN),
|
||||
|
||||
Reference in New Issue
Block a user