/curl/tests/http/testenv/ |
H A D | vsftpd.py | 66 def domain(self): argument 70 def docs_dir(self): argument 74 def port(self) -> int: argument 77 def clear_logs(self): argument 80 def exists(self): argument 83 def is_running(self): argument 89 def start_if_needed(self): argument 108 def restart(self): argument 155 def _rmf(self, path): argument 159 def _mkpath(self, path): argument [all …]
|
H A D | httpd.py | 98 def docs_dir(self): argument 101 def clear_logs(self): argument 104 def exists(self): argument 142 def start(self): argument 157 def stop(self): argument 165 def restart(self): argument 169 def reload(self): argument 206 def _rmf(self, path): argument 210 def _mkpath(self, path): argument 214 def _write_config(self): argument [all …]
|
H A D | caddy.py | 43 def __init__(self, env: Env): argument 55 def docs_dir(self): argument 59 def port(self) -> int: argument 62 def clear_logs(self): argument 65 def is_running(self): argument 71 def start_if_needed(self): argument 90 def stop_if_running(self): argument 104 def restart(self): argument 133 def _rmf(self, path): argument 137 def _mkpath(self, path): argument [all …]
|
H A D | env.py | 60 def __init__(self): argument 225 def httpd_version(self): argument 278 def caddy_version(self): argument 430 def issue_certs(self): argument 438 def setup(self): argument 474 def ca(self): argument 482 def tld(self) -> str: argument 546 def caddy(self) -> str: argument 566 def curl(self) -> str: argument 570 def httpd(self) -> str: argument [all …]
|
H A D | nghttpx.py | 63 def https_port(self): argument 66 def exists(self): argument 69 def clear_logs(self): argument 73 def is_running(self): argument 79 def start_if_needed(self): argument 87 def stop_if_running(self): argument 101 def restart(self): argument 177 def _rmf(self, path): argument 181 def _mkpath(self, path): argument 185 def _write_config(self): argument [all …]
|
H A D | client.py | 43 def __init__(self, name: str, env: Env, run_dir: Optional[str] = None, argument 59 def run_dir(self) -> str: argument 63 def stderr_file(self) -> str: argument 66 def exists(self) -> bool: argument 69 def download_file(self, i: int) -> str: argument 72 def _rmf(self, path): argument 76 def _rmrf(self, path): argument 80 def _mkpath(self, path): argument 84 def run(self, args): argument 114 def dump_logs(self): argument
|
H A D | curl.py | 79 def sample(self): argument 94 def finish(self): argument 105 def __repr__(self): argument 141 def sample(self): argument 171 def start(self): argument 177 def finish(self): argument 218 def __repr__(self): argument 222 def _parse_stats(self): argument 422 def dump_logs(self): argument 488 def _rmf(self, path): argument [all …]
|
H A D | certs.py | 97 def name(self) -> Optional[str]: argument 117 def __init__(self, argument 132 def name(self) -> str: argument 136 def subject(self) -> x509.Name: argument 140 def key_type(self): argument 149 def private_key(self) -> Any: argument 153 def certificate(self) -> Any: argument 157 def cert_pem(self) -> bytes: argument 161 def pkey_pem(self) -> bytes: argument 181 def cert_file(self) -> str: argument [all …]
|
/curl/tests/http/ |
H A D | test_11_unix.py | 42 def __init__(self, path): argument 48 def path(self): argument 51 def start(self): argument 52 def process(self): argument 66 def stop(self): argument 70 def _process(self): argument 94 def uds_faker(self, env: Env) -> Generator[UDSFaker, None, None]: argument 102 def test_11_01_unix_connect_http(self, env: Env, httpd, uds_faker, repeat): argument 113 def test_11_02_unix_connect_http(self, env: Env, httpd, uds_faker, repeat): argument 124 def test_11_03_unix_connect_quic(self, env: Env, httpd, uds_faker, repeat): argument
|
H A D | scorecard.py | 47 def __init__(self, env: Env, argument 64 def info(self, msg): argument 69 def handshakes(self) -> Dict[str, Any]: argument 114 def setup_resources(self, server_docs: str, argument 415 def requests_url(self, url: str, count: int): argument 431 def score(self, argument 488 def fmt_ms(self, tval): argument 491 def fmt_size(self, val): argument 501 def fmt_mbs(self, val): argument 504 def fmt_reqs(self, val): argument [all …]
|
H A D | test_20_websockets.py | 45 def check_alive(self, env, timeout=5): argument 56 def _mkpath(self, path): argument 60 def _rmrf(self, path): argument 65 def ws_echo(self, env): argument 81 def test_20_01_basic(self, env: Env, ws_echo, repeat): argument 87 def test_20_02_pingpong_small(self, env: Env, ws_echo, repeat): argument 97 def test_20_03_pingpong_too_large(self, env: Env, ws_echo, repeat): argument 107 def test_20_04_data_small(self, env: Env, ws_echo, repeat): argument 116 def test_20_05_data_med(self, env: Env, ws_echo, repeat): argument 125 def test_20_06_data_large(self, env: Env, ws_echo, repeat): argument [all …]
|
H A D | test_30_vsftpd.py | 44 def vsftpd(self, env): argument 50 def _make_docs_file(self, docs_dir: str, fname: str, fsize: int): argument 61 def _class_scope(self, env, vsftpd): argument 74 def test_30_01_list_dir(self, env: Env, vsftpd: VsFTPD, repeat): argument 124 def test_30_05_upload_1(self, env: Env, vsftpd: VsFTPD, docname, repeat): argument 135 def _rmf(self, path): argument 153 def test_30_07_shutdownh_upload(self, env: Env, vsftpd: VsFTPD, repeat): argument 166 def test_30_08_active_download(self, env: Env, vsftpd: VsFTPD): argument 178 def test_30_09_active_upload(self, env: Env, vsftpd: VsFTPD): argument 192 def check_downloads(self, client, srcfile: str, count: int, argument [all …]
|
H A D | test_31_vsftpds.py | 46 def vsftpds(self, env): argument 57 def _make_docs_file(self, docs_dir: str, fname: str, fsize: int): argument 68 def _class_scope(self, env, vsftpds): argument 81 def test_31_01_list_dir(self, env: Env, vsftpds: VsFTPD, repeat): argument 142 def _rmf(self, path): argument 175 def test_31_08_upload_ascii(self, env: Env, vsftpds: VsFTPD): argument 197 def test_31_08_active_download(self, env: Env, vsftpds: VsFTPD): argument 209 def test_31_09_active_upload(self, env: Env, vsftpds: VsFTPD): argument 226 def test_31_10_upload_stdin(self, env: Env, vsftpds: VsFTPD, indata): argument 240 def check_downloads(self, client, srcfile: str, count: int, argument [all …]
|
H A D | test_01_basic.py | 40 def _class_scope(self, env, nghttpx): argument 45 def test_01_01_http_get(self, env: Env, httpd): argument 54 def test_01_02_https_get(self, env: Env, httpd): argument 63 def test_01_03_h2_get(self, env: Env, httpd): argument 72 def test_01_04_h2_unsupported(self, env: Env, httpd): argument 81 def test_01_05_h3_get(self, env: Env, httpd, nghttpx): argument 91 def test_01_06_timings(self, env: Env, httpd, nghttpx, repeat, proto): argument 106 def test_01_07_head(self, env: Env, httpd, nghttpx, repeat, proto): argument 121 def test_01_08_h2_upgrade(self, env: Env, httpd): argument 133 def test_01_09_h2_prior_knowledge(self, env: Env, httpd): argument
|
H A D | test_17_ssl_use.py | 42 def _class_scope(self, env, httpd, nghttpx): argument 48 def _function_scope(self, request, env, httpd): argument 53 def test_17_01_sslinfo_plain(self, env: Env, nghttpx, repeat): argument 64 def test_17_02_sslinfo_reconnect(self, env: Env, tls_max): argument 105 def test_17_03_trailing_dot(self, env: Env, proto): argument 120 def test_17_04_double_dot(self, env: Env, proto): argument 142 def test_17_05_ip_addr(self, env: Env, proto): argument 161 def test_17_06_localhost(self, env: Env, proto): argument 251 def test_17_08_cert_status(self, env: Env, proto): argument 347 def test_17_11_wrong_host(self, env: Env, proto): argument [all …]
|
H A D | test_15_tracing.py | 40 def test_15_01_trace_defaults(self, env: Env, httpd): argument 51 def test_15_02_trace_ids(self, env: Env, httpd): argument 64 def test_15_03_trace_ids_time(self, env: Env, httpd): argument 77 def test_15_04_trace_all(self, env: Env, httpd): argument 96 def test_15_05_trace_all(self, env: Env, httpd): argument
|
H A D | test_13_proxy_auth.py | 42 def _class_scope(self, env, httpd, nghttpx_fwd): argument 52 def get_tunnel_proto_used(self, r: ExecResult): argument 61 def test_13_01_proxy_no_auth(self, env: Env, httpd, repeat): argument 69 def test_13_02_proxy_auth(self, env: Env, httpd, repeat): argument 81 def test_13_03_proxys_no_auth(self, env: Env, httpd, nghttpx_fwd, repeat): argument 92 def test_13_04_proxys_auth(self, env: Env, httpd, nghttpx_fwd, repeat): argument 101 def test_13_05_tunnel_http_no_auth(self, env: Env, httpd, repeat): argument 110 def test_13_06_tunnel_http_auth(self, env: Env, httpd, repeat): argument 124 def test_13_07_tunnels_no_auth(self, env: Env, httpd, proto, tunnel, repeat): argument 142 def test_13_08_tunnels_auth(self, env: Env, httpd, proto, tunnel, repeat): argument
|
H A D | test_16_info.py | 40 def _class_scope(self, env, httpd, nghttpx): argument 47 def _class_scope(self, env, httpd): argument 55 def test_16_01_info_download(self, env: Env, httpd, nghttpx, repeat, proto): argument 70 def test_16_02_info_302_download(self, env: Env, httpd, nghttpx, repeat, proto): argument 86 def test_16_03_info_upload(self, env: Env, httpd, nghttpx, proto, repeat): argument 107 def test_16_04_info_http_download(self, env: Env, httpd, nghttpx, repeat, proto): argument 117 def check_stat(self, idx, s, r, dl_size=None, ul_size=None): argument 130 def check_stat_positive(self, s, idx, key): argument 134 def check_stat_zero(self, s, key): argument 138 def check_stat_times(self, s, idx): argument
|
H A D | test_08_caddy.py | 45 def caddy(self, env): argument 51 def _make_docs_file(self, docs_dir: str, fname: str, fsize: int): argument 62 def _class_scope(self, env, caddy): argument 72 def test_08_01_download_1(self, env: Env, caddy: Caddy, repeat, proto): argument 84 def test_08_02_download_1mb_sequential(self, env: Env, caddy: Caddy, argument 98 def test_08_03_download_1mb_parallel(self, env: Env, caddy: Caddy, argument 121 def test_08_04a_download_10mb_sequential(self, env: Env, caddy: Caddy, argument 137 def test_08_04b_download_10mb_sequential(self, env: Env, caddy: Caddy, argument 153 def test_08_05_download_1mb_parallel(self, env: Env, caddy: Caddy, argument 214 def test_08_08_earlydata(self, env: Env, httpd, caddy, proto): argument [all …]
|
H A D | test_02_download.py | 45 def _class_scope(self, env, httpd, nghttpx): argument 52 def _class_scope(self, env, httpd): argument 82 def test_02_03_download_sequential(self, env: Env, argument 94 def test_02_04_download_parallel(self, env: Env, argument 150 def test_02_07_download_reuse(self, env: Env, argument 169 def test_02_07b_download_reuse(self, env: Env, argument 183 def test_02_08_1MB_serial(self, env: Env, argument 194 def test_02_09_1MB_parallel(self, env: Env, argument 209 def test_02_10_10MB_serial(self, env: Env, argument 222 def test_02_11_10MB_parallel(self, env: Env, argument [all …]
|
H A D | test_07_upload.py | 44 def _class_scope(self, env, httpd, nghttpx): argument 180 def test_07_15_hx_put(self, env: Env, httpd, nghttpx, proto): argument 196 def test_07_16_hx_put_reuse(self, env: Env, httpd, nghttpx, proto): argument 212 def test_07_17_hx_post_reuse(self, env: Env, httpd, nghttpx, proto): argument 282 def test_07_30_put_100k(self, env: Env, httpd, nghttpx, repeat, proto): argument 302 def test_07_31_put_10m(self, env: Env, httpd, nghttpx, repeat, proto): argument 336 def test_07_33_issue_11157a(self, env: Env, httpd, nghttpx, repeat): argument 357 def test_07_33_issue_11157b(self, env: Env, httpd, nghttpx, repeat): argument 379 def test_07_34_issue_11194(self, env: Env, httpd, nghttpx, repeat): argument 524 def check_download(self, count, srcfile, curl): argument [all …]
|
H A D | test_10_proxy.py | 42 def _class_scope(self, env, httpd, nghttpx_fwd): argument 53 def get_tunnel_proto_used(self, r: ExecResult): argument 62 def test_10_01_proxy_http(self, env: Env, httpd, repeat): argument 73 def test_10_02_proxys_down(self, env: Env, httpd, proto, repeat): argument 94 def test_10_02_proxys_up(self, env: Env, httpd, nghttpx, proto, argument 113 def test_10_03_proxytunnel_http(self, env: Env, httpd, repeat): argument 125 def test_10_04_proxy_https(self, env: Env, httpd, nghttpx_fwd, repeat): argument 136 def test_10_05_proxytunnel_http(self, env: Env, httpd, proto, repeat): argument 177 def test_10_07_pts_down_small(self, env: Env, httpd, nghttpx_fwd, proto, argument 207 def test_10_08_upload_seq_large(self, env: Env, httpd, nghttpx, proto, argument [all …]
|
H A D | test_06_eyeballs.py | 39 def _class_scope(self, env, httpd, nghttpx): argument 47 def test_06_01_h3_only(self, env: Env, httpd, nghttpx, repeat): argument 56 def test_06_02_h3_only(self, env: Env, httpd, nghttpx, repeat): argument 65 def test_06_03_h3_fallback_h2(self, env: Env, httpd, nghttpx, repeat): argument 75 def test_06_04_h3_fallback_h1(self, env: Env, httpd, nghttpx, repeat): argument 84 def test_06_10_stats_success(self, env: Env, httpd, nghttpx, repeat): argument 93 def test_06_11_stats_fail_verify(self, env: Env, httpd, nghttpx, repeat): argument 104 def test_06_12_stats_fail_tcp(self, env: Env, httpd, nghttpx, repeat): argument
|
/curl/tests/ |
H A D | smbserver.py | 75 def __init__(self, server): argument 80 def __enter__(self): argument 85 def __exit__(self, *_): argument 98 def _sighandler(self, _signum, _frame): argument 102 def run(self): argument 168 def __init__(self, argument 297 def get_share_path(self, conn_data, root_fid, tid): argument 317 def get_server_path(self, requested_filename): argument 340 def write_to_fid(self, fid, contents): argument 348 def get_test_path(self, requested_filename): argument [all …]
|
H A D | util.py | 40 def __init__(self, filename): argument 45 def emit(self, record): argument 51 def setStream(self, stream): argument 68 def __init__(self, data_folder): argument 71 def get_test_data(self, test_number): argument
|