forked from kenzuya/unshackle
test: delete slow, timing-based and redundant tests
This commit is contained in:
@@ -39,11 +39,6 @@ def test_dl_starts_a_forwarder_for_a_control_d_resolver(monkeypatch: pytest.Monk
|
||||
assert params["proxy_query"] is None
|
||||
|
||||
|
||||
@pytest.mark.usefixtures("example_service")
|
||||
def test_dl_keeps_a_host_and_port_as_given(monkeypatch: pytest.MonkeyPatch, tmp_path: Path) -> None:
|
||||
assert run_dl(monkeypatch, tmp_path, "nas:3128").params["proxy"] == "nas:3128"
|
||||
|
||||
|
||||
@pytest.mark.usefixtures("example_service")
|
||||
@pytest.mark.parametrize("proxy", ["nope:us", "us", "controld://bad id@dns.controld.com"])
|
||||
def test_a_dl_proxy_error_is_a_proxy_error(monkeypatch: pytest.MonkeyPatch, tmp_path: Path, proxy: str) -> None:
|
||||
|
||||
Reference in New Issue
Block a user