/curl/tests/http/testenv/ |
H A D | vsftpd.py | 68 def domain(self): argument 72 def docs_dir(self): argument 76 def port(self) -> str: argument 79 def clear_logs(self): argument 82 def exists(self): argument 85 def is_running(self): argument 91 def start_if_needed(self): argument 113 def restart(self): argument 173 def _rmf(self, path): argument 177 def _mkpath(self, path): argument [all …]
|
H A D | env.py | 64 def __init__(self): argument 210 def httpd_version(self): argument 263 def caddy_version(self): argument 403 def issue_certs(self): argument 411 def setup(self): argument 443 def ca(self): argument 507 def caddy(self) -> str: argument 519 def vsftpd(self) -> str: argument 527 def curl(self) -> str: argument 531 def httpd(self) -> str: argument [all …]
|
H A D | httpd.py | 98 def docs_dir(self): argument 101 def clear_logs(self): argument 104 def exists(self): argument 144 def start(self): argument 159 def stop(self): argument 167 def restart(self): argument 171 def reload(self): argument 208 def _rmf(self, path): argument 212 def _mkpath(self, path): argument 216 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) -> str: 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 | nghttpx.py | 62 def exists(self): argument 65 def clear_logs(self): argument 69 def is_running(self): argument 75 def start_if_needed(self): argument 83 def stop_if_running(self): argument 88 def stop(self, wait_dead=True): argument 97 def restart(self): argument 158 def _rmf(self, path): argument 162 def _mkpath(self, path): argument 166 def _write_config(self): argument [all …]
|
H A D | client.py | 47 def __init__(self, name: str, env: Env, run_dir: Optional[str] = None, argument 63 def run_dir(self) -> str: argument 67 def stderr_file(self) -> str: argument 70 def exists(self) -> bool: argument 73 def download_file(self, i: int) -> str: argument 76 def _rmf(self, path): argument 80 def _rmrf(self, path): argument 84 def _mkpath(self, path): argument 88 def run(self, args): argument 119 def dump_logs(self): argument
|
H A D | curl.py | 78 def sample(self): argument 93 def finish(self): argument 104 def __repr__(self): argument 145 def sample(self): argument 176 def start(self): argument 182 def finish(self): argument 223 def __repr__(self): argument 227 def _parse_stats(self): argument 426 def dump_logs(self): argument 490 def _rmf(self, path): argument [all …]
|
H A D | certs.py | 97 def name(self) -> Optional[str]: argument 117 def __init__(self, argument 131 def name(self) -> str: argument 135 def subject(self) -> x509.Name: argument 139 def key_type(self): argument 148 def private_key(self) -> Any: argument 152 def certificate(self) -> Any: argument 156 def cert_pem(self) -> bytes: argument 160 def pkey_pem(self) -> bytes: argument 180 def cert_file(self) -> str: argument [all …]
|
/curl/tests/http/ |
H A D | test_11_unix.py | 40 def __init__(self, path): argument 45 def path(self): argument 48 def start(self): argument 49 def process(self): argument 63 def stop(self): argument 67 def _process(self): argument 91 def uds_faker(self, env: Env) -> UDSFaker: argument 99 def test_11_01_unix_connect_http(self, env: Env, httpd, uds_faker, repeat): argument 110 def test_11_02_unix_connect_http(self, env: Env, httpd, uds_faker, repeat): argument 121 def test_11_03_unix_connect_quic(self, env: Env, httpd, uds_faker, repeat): argument
|
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 | scorecard.py | 47 def __init__(self, env: Env, argument 62 def info(self, msg): argument 67 def handshakes(self, proto: str) -> Dict[str, Any]: argument 220 def downloads(self, proto: str, count: int, argument 377 def uploads(self, proto: str, count: int, argument 505 def score_proto(self, proto: str, argument 563 def fmt_ms(self, tval): argument 566 def fmt_size(self, val): argument 576 def fmt_mbs(self, val): argument 579 def fmt_reqs(self, val): 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 | 44 def _class_scope(self, env, nghttpx): argument 49 def _function_scope(self, request, env, httpd): argument 54 def test_17_01_sslinfo_plain(self, env: Env, nghttpx, repeat): argument 65 def test_17_02_sslinfo_reconnect(self, env: Env, tls_max): argument 109 def test_17_03_trailing_dot(self, env: Env, proto): argument 124 def test_17_04_double_dot(self, env: Env, proto): argument 148 def test_17_05_ip_addr(self, env: Env, proto): argument 167 def test_17_06_localhost(self, env: Env, proto): argument 205 …def test_17_07_ssl_ciphers(self, env: Env, httpd, tls_proto, ciphers13, ciphers12, succeed13, succ… argument 254 def test_17_08_cert_status(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 | 45 def _class_scope(self, env, httpd, nghttpx_fwd): argument 55 def get_tunnel_proto_used(self, r: ExecResult): argument 64 def test_13_01_proxy_no_auth(self, env: Env, httpd, repeat): argument 72 def test_13_02_proxy_auth(self, env: Env, httpd, repeat): argument 84 def test_13_03_proxys_no_auth(self, env: Env, httpd, nghttpx_fwd, repeat): argument 95 def test_13_04_proxys_auth(self, env: Env, httpd, nghttpx_fwd, repeat): argument 104 def test_13_05_tunnel_http_no_auth(self, env: Env, httpd, repeat): argument 113 def test_13_06_tunnel_http_auth(self, env: Env, httpd, repeat): argument 127 def test_13_07_tunnels_no_auth(self, env: Env, httpd, proto, tunnel, repeat): argument 145 def test_13_08_tunnels_auth(self, env: Env, httpd, proto, tunnel, repeat): argument
|
H A D | test_16_info.py | 43 def _class_scope(self, env, httpd, nghttpx): argument 50 def _class_scope(self, env, httpd): argument 58 def test_16_01_info_download(self, env: Env, httpd, nghttpx, repeat, proto): argument 73 def test_16_02_info_302_download(self, env: Env, httpd, nghttpx, repeat, proto): argument 89 def test_16_03_info_upload(self, env: Env, httpd, nghttpx, proto, repeat): argument 110 def test_16_04_info_http_download(self, env: Env, httpd, nghttpx, repeat, proto): argument 120 def check_stat(self, idx, s, r, dl_size=None, ul_size=None): argument 133 def check_stat_positive(self, s, idx, key): argument 137 def check_stat_zero(self, s, key): argument 141 def check_stat_times(self, s, idx): argument
|
H A D | test_08_caddy.py | 42 def caddy(self, env): argument 48 def _make_docs_file(self, docs_dir: str, fname: str, fsize: int): argument 59 def _class_scope(self, env, caddy): argument 68 def test_08_01_download_1(self, env: Env, caddy: Caddy, repeat, proto): argument 80 def test_08_02_download_1mb_sequential(self, env: Env, caddy: Caddy, argument 94 def test_08_03_download_1mb_parallel(self, env: Env, caddy: Caddy, argument 117 def test_08_04a_download_10mb_sequential(self, env: Env, caddy: Caddy, argument 133 def test_08_04b_download_10mb_sequential(self, env: Env, caddy: Caddy, argument 149 def test_08_05_download_1mb_parallel(self, env: Env, caddy: Caddy, argument 173 def test_08_06_post_parallel(self, env: Env, httpd, caddy, repeat, proto): argument [all …]
|
H A D | test_02_download.py | 44 def _class_scope(self, env, httpd, nghttpx): argument 51 def _class_scope(self, env, httpd): argument 81 def test_02_03_download_sequential(self, env: Env, argument 93 def test_02_04_download_parallel(self, env: Env, argument 149 def test_02_07_download_reuse(self, env: Env, argument 168 def test_02_07b_download_reuse(self, env: Env, argument 184 def test_02_08_1MB_serial(self, env: Env, argument 195 def test_02_09_1MB_parallel(self, env: Env, argument 210 def test_02_10_10MB_serial(self, env: Env, argument 223 def test_02_11_10MB_parallel(self, env: Env, argument [all …]
|
H A D | test_07_upload.py | 43 def _class_scope(self, env, httpd, nghttpx): argument 178 def test_07_15_hx_put(self, env: Env, httpd, nghttpx, proto): argument 194 def test_07_16_hx_put_reuse(self, env: Env, httpd, nghttpx, proto): argument 210 def test_07_17_hx_post_reuse(self, env: Env, httpd, nghttpx, proto): argument 280 def test_07_30_put_100k(self, env: Env, httpd, nghttpx, repeat, proto): argument 300 def test_07_31_put_10m(self, env: Env, httpd, nghttpx, repeat, proto): argument 334 def test_07_33_issue_11157a(self, env: Env, httpd, nghttpx, repeat): argument 355 def test_07_33_issue_11157b(self, env: Env, httpd, nghttpx, repeat): argument 377 def test_07_34_issue_11194(self, env: Env, httpd, nghttpx, repeat): argument 522 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 | 41 def _class_scope(self, env, httpd, nghttpx): argument 49 def test_06_01_h3_only(self, env: Env, httpd, nghttpx, repeat): argument 58 def test_06_02_h3_only(self, env: Env, httpd, nghttpx, repeat): argument 67 def test_06_03_h3_fallback_h2(self, env: Env, httpd, nghttpx, repeat): argument 77 def test_06_04_h3_fallback_h1(self, env: Env, httpd, nghttpx, repeat): argument 86 def test_06_10_stats_success(self, env: Env, httpd, nghttpx, repeat): argument 95 def test_06_11_stats_fail_verify(self, env: Env, httpd, nghttpx, repeat): argument 106 def test_06_12_stats_fail_tcp(self, env: Env, httpd, nghttpx, repeat): argument
|
/curl/tests/ |
H A D | smbserver.py | 74 def __init__(self, server): argument 79 def __enter__(self): argument 84 def __exit__(self, *_): argument 97 def _sighandler(self, _signum, _frame): argument 101 def run(self): argument 169 def __init__(self, argument 298 def get_share_path(self, conn_data, root_fid, tid): argument 318 def get_server_path(self, requested_filename): argument 341 def write_to_fid(self, fid, contents): argument 349 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
|