============================= test session starts ============================== platform linux -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-0.13.1 -- /usr/bin/python cachedir: .pytest_cache rootdir: /build/python-httplib2/src/httplib2-0.20.3, configfile: setup.cfg plugins: xdist-2.4.0, timeout-1.4.2, forked-1.3.0, cov-2.12.1 timeout: 17.0s timeout method: signal timeout func_only: False collecting ... collected 491 items tests/test_auth.py::test_credentials PASSED [ 0%] tests/test_auth.py::test_basic PASSED [ 0%] tests/test_auth.py::test_basic_for_domain PASSED [ 0%] tests/test_auth.py::test_basic_two_credentials PASSED [ 0%] tests/test_auth.py::test_digest PASSED [ 1%] tests/test_auth.py::test_digest_next_nonce_nc PASSED [ 1%] tests/test_auth.py::test_digest_auth_stale PASSED [ 1%] tests/test_auth.py::test_parse_www_authenticate_correct[strict-{}] PASSED [ 1%] tests/test_auth.py::test_parse_www_authenticate_correct[strict-{'www-authenticate': ''}] PASSED [ 1%] tests/test_auth.py::test_parse_www_authenticate_correct[strict-{'www-authenticate': 'Test realm="test realm" , foo=foo ,bar="bar", baz=baz,qux=qux'}] PASSED [ 2%] tests/test_auth.py::test_parse_www_authenticate_correct[strict-{'www-authenticate': 'T*!%#st realm=to*!%#en, to*!%#en="quoted string"'}] PASSED [ 2%] tests/test_auth.py::test_parse_www_authenticate_correct[strict-{'www-authenticate': 'Test realm="a \\\\"test\\\\" realm"'}] PASSED [ 2%] tests/test_auth.py::test_parse_www_authenticate_correct[strict-{'www-authenticate': 'Basic realm="me"'}] PASSED [ 2%] tests/test_auth.py::test_parse_www_authenticate_correct[strict-{'www-authenticate': 'Basic realm="me", algorithm="MD5"'}] PASSED [ 2%] tests/test_auth.py::test_parse_www_authenticate_correct[strict-{'www-authenticate': 'Basic realm="me", algorithm=MD5'}] PASSED [ 3%] tests/test_auth.py::test_parse_www_authenticate_correct[strict-{'www-authenticate': 'Basic realm="me",other="fred" '}] PASSED [ 3%] tests/test_auth.py::test_parse_www_authenticate_correct[strict-{'www-authenticate': 'Basic REAlm="me" '}] PASSED [ 3%] tests/test_auth.py::test_parse_www_authenticate_correct[strict-{'www-authenticate': 'Digest realm="digest1", qop="auth,auth-int", nonce="7102dd2", opaque="e9517f"'}] PASSED [ 3%] tests/test_auth.py::test_parse_www_authenticate_correct[strict-{'www-authenticate': 'Digest realm="2-comma-d", qop="auth-int", nonce="c0c8ff1", Basic realm="2-comma-b"'}] PASSED [ 3%] tests/test_auth.py::test_parse_www_authenticate_correct[strict-{'www-authenticate': 'Digest realm="com3d", Basic realm="com3b", WSSE realm="com3w", profile="token"'}] PASSED [ 4%] tests/test_auth.py::test_parse_www_authenticate_correct[strict-{'www-authenticate': 'Digest realm="myrealm", nonce="KBAA=3", algorithm=MD5, qop="auth", stale=true'}] PASSED [ 4%] tests/test_auth.py::test_parse_www_authenticate_correct[strict-{'www-authenticate': "Basic param='single quote'"}] PASSED [ 4%] tests/test_auth.py::test_parse_www_authenticate_correct[relax-{}] PASSED [ 4%] tests/test_auth.py::test_parse_www_authenticate_correct[relax-{'www-authenticate': ''}] PASSED [ 4%] tests/test_auth.py::test_parse_www_authenticate_correct[relax-{'www-authenticate': 'Test realm="test realm" , foo=foo ,bar="bar", baz=baz,qux=qux'}] PASSED [ 5%] tests/test_auth.py::test_parse_www_authenticate_correct[relax-{'www-authenticate': 'T*!%#st realm=to*!%#en, to*!%#en="quoted string"'}] PASSED [ 5%] tests/test_auth.py::test_parse_www_authenticate_correct[relax-{'www-authenticate': 'Test realm="a \\\\"test\\\\" realm"'}] PASSED [ 5%] tests/test_auth.py::test_parse_www_authenticate_correct[relax-{'www-authenticate': 'Basic realm="me"'}] PASSED [ 5%] tests/test_auth.py::test_parse_www_authenticate_correct[relax-{'www-authenticate': 'Basic realm="me", algorithm="MD5"'}] PASSED [ 5%] tests/test_auth.py::test_parse_www_authenticate_correct[relax-{'www-authenticate': 'Basic realm="me", algorithm=MD5'}] PASSED [ 6%] tests/test_auth.py::test_parse_www_authenticate_correct[relax-{'www-authenticate': 'Basic realm="me",other="fred" '}] PASSED [ 6%] tests/test_auth.py::test_parse_www_authenticate_correct[relax-{'www-authenticate': 'Basic REAlm="me" '}] PASSED [ 6%] tests/test_auth.py::test_parse_www_authenticate_correct[relax-{'www-authenticate': 'Digest realm="digest1", qop="auth,auth-int", nonce="7102dd2", opaque="e9517f"'}] PASSED [ 6%] tests/test_auth.py::test_parse_www_authenticate_correct[relax-{'www-authenticate': 'Digest realm="2-comma-d", qop="auth-int", nonce="c0c8ff1", Basic realm="2-comma-b"'}] PASSED [ 6%] tests/test_auth.py::test_parse_www_authenticate_correct[relax-{'www-authenticate': 'Digest realm="com3d", Basic realm="com3b", WSSE realm="com3w", profile="token"'}] PASSED [ 7%] tests/test_auth.py::test_parse_www_authenticate_correct[relax-{'www-authenticate': 'Digest realm="myrealm", nonce="KBAA=3", algorithm=MD5, qop="auth", stale=true'}] PASSED [ 7%] tests/test_auth.py::test_parse_www_authenticate_correct[relax-{'www-authenticate': "Basic param='single quote'"}] PASSED [ 7%] tests/test_auth.py::test_parse_www_authenticate_malformed[{'www-authenticate': 'OAuth "Facebook Platform" "invalid_token" "Invalid OAuth access token."'}] PASSED [ 7%] tests/test_auth.py::test_parse_www_authenticate_complexity PASSED [ 7%] tests/test_auth.py::test_benchmark_parse_www_authenticate[Basic realm="me", algorithm="MD5"] SKIPPED [ 8%] tests/test_auth.py::test_benchmark_parse_www_authenticate[Digest realm="digest1", qop="auth,auth-int", nonce="7102dd2", opaque="e9517f"] SKIPPED [ 8%] tests/test_auth.py::test_benchmark_parse_www_authenticate[Digest realm="2-comma-d", qop="auth-int", nonce="c0c8ff1", Basic realm="2-comma-b"] SKIPPED [ 8%] tests/test_auth.py::test_benchmark_parse_www_authenticate[Bearer 0b79bab50daca910b000d4f1a2b675d604257e42] SKIPPED [ 8%] tests/test_auth.py::test_digest_object PASSED [ 8%] tests/test_auth.py::test_digest_object_with_opaque PASSED [ 9%] tests/test_auth.py::test_digest_object_stale PASSED [ 9%] tests/test_auth.py::test_digest_object_auth_info PASSED [ 9%] tests/test_auth.py::test_wsse_algorithm PASSED [ 9%] tests/test_auth.py::test_wsse_invalid PASSED [ 9%] tests/test_auth.py::test_wsse_ok PASSED [ 10%] tests/test_cacerts_from_env.py::test_certs_file_from_builtin PASSED [ 10%] tests/test_cacerts_from_env.py::test_certs_file_from_environment PASSED [ 10%] tests/test_cacerts_from_env.py::test_certs_file_from_certifi PASSED [ 10%] tests/test_cacerts_from_env.py::test_certs_file_from_custom_getter PASSED [ 10%] tests/test_cacerts_from_env.py::test_with_certifi_removed_from_modules PASSED [ 11%] tests/test_cache.py::test_get_only_if_cached_cache_hit PASSED [ 11%] tests/test_cache.py::test_get_only_if_cached_cache_miss PASSED [ 11%] tests/test_cache.py::test_get_only_if_cached_no_cache_at_all PASSED [ 11%] tests/test_cache.py::test_TODO_vary_no SKIPPED (was commented in leg...) [ 12%] tests/test_cache.py::test_vary_header_is_sent PASSED [ 12%] tests/test_cache.py::test_vary_header_double PASSED [ 12%] tests/test_cache.py::test_vary_unused_header PASSED [ 12%] tests/test_cache.py::test_get_cache_control_no_cache PASSED [ 12%] tests/test_cache.py::test_get_cache_control_pragma_no_cache PASSED [ 13%] tests/test_cache.py::test_get_cache_control_no_store_request PASSED [ 13%] tests/test_cache.py::test_get_cache_control_no_store_response PASSED [ 13%] tests/test_cache.py::test_get_cache_control_no_cache_no_store_request PASSED [ 13%] tests/test_cache.py::test_update_invalidates_cache PASSED [ 13%] tests/test_cache.py::test_update_uses_cached_etag[PUT] PASSED [ 14%] tests/test_cache.py::test_update_uses_cached_etag[PATCH] PASSED [ 14%] tests/test_cache.py::test_update_uses_cached_etag_and_oc_method PASSED [ 14%] tests/test_cache.py::test_update_uses_cached_etag_overridden PASSED [ 14%] tests/test_cache.py::test_parse_cache_control[{}] PASSED [ 14%] tests/test_cache.py::test_parse_cache_control[{'cache-control': ' no-cache'}] PASSED [ 15%] tests/test_cache.py::test_parse_cache_control[{'cache-control': ' no-store, max-age = 7200'}] PASSED [ 15%] tests/test_cache.py::test_parse_cache_control[{'cache-control': ' , '}] PASSED [ 15%] tests/test_cache.py::test_parse_cache_control[{'cache-control': 'Max-age=3600;post-check=1800,pre-check=3600'}] PASSED [ 15%] tests/test_cache.py::test_normalize_headers PASSED [ 15%] tests/test_cache.py::test_entry_disposition[({'cache-control': 'no-cache'}, {'cache-control': 'max-age=7200'}, 'TRANSPARENT')] PASSED [ 16%] tests/test_cache.py::test_entry_disposition[({}, {'cache-control': 'max-age=fred, min-fresh=barney'}, 'STALE')] PASSED [ 16%] tests/test_cache.py::test_entry_disposition[({}, {'date': '{now}', 'expires': '{now+3}'}, 'FRESH')] PASSED [ 16%] tests/test_cache.py::test_entry_disposition[({}, {'date': '{now}', 'expires': '{now+3}', 'cache-control': 'no-cache'}, 'STALE')] PASSED [ 16%] tests/test_cache.py::test_entry_disposition[({'cache-control': 'must-revalidate'}, {}, 'STALE')] PASSED [ 16%] tests/test_cache.py::test_entry_disposition[({}, {'cache-control': 'must-revalidate'}, 'STALE')] PASSED [ 17%] tests/test_cache.py::test_entry_disposition[({}, {'date': '{now}', 'cache-control': 'max-age=0'}, 'STALE')] PASSED [ 17%] tests/test_cache.py::test_entry_disposition[({'cache-control': 'only-if-cached'}, {}, 'FRESH')] PASSED [ 17%] tests/test_cache.py::test_entry_disposition[({}, {'date': '{now}', 'expires': '0'}, 'STALE')] PASSED [ 17%] tests/test_cache.py::test_entry_disposition[({}, {'data': '{now+3}'}, 'STALE')] PASSED [ 17%] tests/test_cache.py::test_entry_disposition[({'cache-control': 'max-age=0'}, {'date': '{now}', 'cache-control': 'max-age=2'}, 'STALE')] PASSED [ 18%] tests/test_cache.py::test_entry_disposition[({'cache-control': 'min-fresh=2'}, {'date': '{now}', 'expires': '{now+2}'}, 'STALE')] PASSED [ 18%] tests/test_cache.py::test_entry_disposition[({'cache-control': 'min-fresh=2'}, {'date': '{now}', 'expires': '{now+4}'}, 'FRESH')] PASSED [ 18%] tests/test_cache.py::test_expiration_model_fresh PASSED [ 18%] tests/test_cache.py::test_expiration_model_date_and_expires PASSED [ 18%] tests/test_encoding.py::test_gzip_head PASSED [ 19%] tests/test_encoding.py::test_gzip_get PASSED [ 19%] tests/test_encoding.py::test_gzip_post_response PASSED [ 19%] tests/test_encoding.py::test_gzip_malformed_response PASSED [ 19%] tests/test_encoding.py::test_deflate_get PASSED [ 19%] tests/test_encoding.py::test_deflate_malformed_response PASSED [ 20%] tests/test_http.py::test_connection_type PASSED [ 20%] tests/test_http.py::test_bad_status_line_retry PASSED [ 20%] tests/test_http.py::test_unknown_server PASSED [ 20%] tests/test_http.py::test_connection_refused_raises_exception PASSED [ 20%] tests/test_http.py::test_connection_refused_returns_response PASSED [ 21%] tests/test_http.py::test_get_iri PASSED [ 21%] tests/test_http.py::test_get_is_default_method PASSED [ 21%] tests/test_http.py::test_different_methods PASSED [ 21%] tests/test_http.py::test_head_read PASSED [ 21%] tests/test_http.py::test_get_no_cache PASSED [ 22%] tests/test_http.py::test_user_agent PASSED [ 22%] tests/test_http.py::test_user_agent_non_default PASSED [ 22%] tests/test_http.py::test_get_300_with_location PASSED [ 22%] tests/test_http.py::test_get_300_with_location_noredirect PASSED [ 23%] tests/test_http.py::test_get_300_without_location PASSED [ 23%] tests/test_http.py::test_get_301 PASSED [ 23%] tests/test_http.py::test_head_301 SKIPPED (FIXME: timeout on CI py27...) [ 23%] tests/test_http.py::test_get_301_no_redirect XFAIL (FIXME: 301 cache...) [ 23%] tests/test_http.py::test_get_302 PASSED [ 24%] tests/test_http.py::test_get_302_redirection_limit PASSED [ 24%] tests/test_http.py::test_get_302_no_location PASSED [ 24%] tests/test_http.py::test_303 SKIPPED (FIXME: timeout on CI py27 and ...) [ 24%] tests/test_http.py::test_etag_used PASSED [ 24%] tests/test_http.py::test_etag_ignore PASSED [ 25%] tests/test_http.py::test_etag_override PASSED [ 25%] tests/test_http.py::test_get_304_end_to_end SKIPPED (was commented i...) [ 25%] tests/test_http.py::test_get_304_last_modified PASSED [ 25%] tests/test_http.py::test_get_307 PASSED [ 25%] tests/test_http.py::test_post_307 PASSED [ 26%] tests/test_http.py::test_change_308 PASSED [ 26%] tests/test_http.py::test_get_410 PASSED [ 26%] tests/test_http.py::test_get_duplicate_headers PASSED [ 26%] tests/test_http.py::test_custom_redirect_codes PASSED [ 26%] tests/test_http.py::test_cwe93_inject_crlf PASSED [ 27%] tests/test_http.py::test_inject_space PASSED [ 27%] tests/test_https.py::test_get_via_https PASSED [ 27%] tests/test_https.py::test_get_301_via_https PASSED [ 27%] tests/test_https.py::test_get_301_via_https_spec_violation_on_location PASSED [ 27%] tests/test_https.py::test_invalid_ca_certs_path PASSED [ 28%] tests/test_https.py::test_not_trusted_ca PASSED [ 28%] tests/test_https.py::test_set_tls_version[None-maximum_version] PASSED [ 28%] tests/test_https.py::test_set_tls_version[None-minimum_version] PASSED [ 28%] tests/test_https.py::test_set_tls_version[TLSv1_2-maximum_version] PASSED [ 28%] tests/test_https.py::test_set_tls_version[TLSv1_2-minimum_version] PASSED [ 29%] tests/test_https.py::test_set_tls_version[TLSVersion.TLSv1_2-maximum_version] PASSED [ 29%] tests/test_https.py::test_set_tls_version[TLSVersion.TLSv1_2-minimum_version] PASSED [ 29%] tests/test_https.py::test_max_tls_version PASSED [ 29%] tests/test_https.py::test_client_cert_verified PASSED [ 29%] tests/test_https.py::test_client_cert_password_verified FAILED [ 30%] tests/test_https.py::test_sni_set_servername_callback PASSED [ 30%] tests/test_https.py::test_http_redirect_https PASSED [ 30%] tests/test_https.py::test_https_redirect_http PASSED [ 30%] tests/test_other.py::test_convert_byte_str PASSED [ 30%] tests/test_other.py::test_reflect PASSED [ 31%] tests/test_other.py::test_pickle_http PASSED [ 31%] tests/test_other.py::test_pickle_http_with_connection PASSED [ 31%] tests/test_other.py::test_pickle_custom_request_http PASSED [ 31%] tests/test_other.py::test_timeout_global XPASS (FIXME: for unknown r...) [ 31%] tests/test_other.py::test_timeout_individual PASSED [ 32%] tests/test_other.py::test_timeout_subsequent PASSED [ 32%] tests/test_other.py::test_timeout_https PASSED [ 32%] tests/test_other.py::test_connection_close PASSED [ 32%] tests/test_other.py::test_get_end2end_headers PASSED [ 32%] tests/test_other.py::test_ipv6[http] PASSED [ 33%] tests/test_other.py::test_ipv6[https] PASSED [ 33%] tests/test_other.py::test_connection_proxy_info_attribute_error[HTTPConnectionWithTimeout] PASSED [ 33%] tests/test_other.py::test_connection_proxy_info_attribute_error[HTTPSConnectionWithTimeout] PASSED [ 33%] tests/test_other.py::test_http_443_forced_https PASSED [ 34%] tests/test_other.py::test_close PASSED [ 34%] tests/test_other.py::test_connect_exception_type PASSED [ 34%] tests/test_proxy.py::test_from_url PASSED [ 34%] tests/test_proxy.py::test_from_url_ident PASSED [ 34%] tests/test_proxy.py::test_from_url_no_password PASSED [ 35%] tests/test_proxy.py::test_from_env PASSED [ 35%] tests/test_proxy.py::test_from_env_https PASSED [ 35%] tests/test_proxy.py::test_from_env_none PASSED [ 35%] tests/test_proxy.py::test_from_env_other PASSED [ 35%] tests/test_proxy.py::test_proxy_info_repr PASSED [ 36%] tests/test_proxy.py::test_applies_to PASSED [ 36%] tests/test_proxy.py::test_noproxy_trailing_comma PASSED [ 36%] tests/test_proxy.py::test_noproxy_star PASSED [ 36%] tests/test_proxy.py::test_headers PASSED [ 36%] tests/test_proxy.py::test_server_not_found_error_is_raised_for_invalid_hostname PASSED [ 37%] tests/test_proxy.py::test_auth_str_bytes PASSED [ 37%] tests/test_proxy.py::test_socks5_auth PASSED [ 37%] tests/test_proxy.py::test_functional_noproxy_star_http PASSED [ 37%] tests/test_proxy.py::test_functional_noproxy_star_https PASSED [ 37%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=_-host=_-port=_-path=_] PASSED [ 38%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=_-host=_-port=_-path=/] PASSED [ 38%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=_-host=_-port=None-path=_] PASSED [ 38%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=_-host=_-port=None-path=/] PASSED [ 38%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=_-host=_-port=81-path=_] PASSED [ 38%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=_-host=_-port=81-path=/] PASSED [ 39%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=_-host=1.1.1.1-port=_-path=_] PASSED [ 39%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=_-host=1.1.1.1-port=_-path=/] PASSED [ 39%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=_-host=1.1.1.1-port=None-path=_] PASSED [ 39%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=_-host=1.1.1.1-port=None-path=/] PASSED [ 39%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=_-host=1.1.1.1-port=81-path=_] PASSED [ 40%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=_-host=1.1.1.1-port=81-path=/] PASSED [ 40%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=_-host=[fe80::1]-port=_-path=_] PASSED [ 40%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=_-host=[fe80::1]-port=_-path=/] PASSED [ 40%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=_-host=[fe80::1]-port=None-path=_] PASSED [ 40%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=_-host=[fe80::1]-port=None-path=/] PASSED [ 41%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=_-host=[fe80::1]-port=81-path=_] PASSED [ 41%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=_-host=[fe80::1]-port=81-path=/] PASSED [ 41%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=_-host=fqdn.-port=_-path=_] PASSED [ 41%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=_-host=fqdn.-port=_-path=/] PASSED [ 41%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=_-host=fqdn.-port=None-path=_] PASSED [ 42%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=_-host=fqdn.-port=None-path=/] PASSED [ 42%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=_-host=fqdn.-port=81-path=_] PASSED [ 42%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=_-host=fqdn.-port=81-path=/] PASSED [ 42%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=http-host=_-port=_-path=_] PASSED [ 42%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=http-host=_-port=_-path=/] PASSED [ 43%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=http-host=_-port=None-path=_] PASSED [ 43%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=http-host=_-port=None-path=/] PASSED [ 43%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=http-host=_-port=81-path=_] PASSED [ 43%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=http-host=_-port=81-path=/] PASSED [ 43%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=http-host=1.1.1.1-port=_-path=_] PASSED [ 44%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=http-host=1.1.1.1-port=_-path=/] PASSED [ 44%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=http-host=1.1.1.1-port=None-path=_] PASSED [ 44%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=http-host=1.1.1.1-port=None-path=/] PASSED [ 44%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=http-host=1.1.1.1-port=81-path=_] PASSED [ 45%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=http-host=1.1.1.1-port=81-path=/] PASSED [ 45%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=http-host=[fe80::1]-port=_-path=_] PASSED [ 45%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=http-host=[fe80::1]-port=_-path=/] PASSED [ 45%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=http-host=[fe80::1]-port=None-path=_] PASSED [ 45%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=http-host=[fe80::1]-port=None-path=/] PASSED [ 46%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=http-host=[fe80::1]-port=81-path=_] PASSED [ 46%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=http-host=[fe80::1]-port=81-path=/] PASSED [ 46%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=http-host=fqdn.-port=_-path=_] PASSED [ 46%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=http-host=fqdn.-port=_-path=/] PASSED [ 46%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=http-host=fqdn.-port=None-path=_] PASSED [ 47%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=http-host=fqdn.-port=None-path=/] PASSED [ 47%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=http-host=fqdn.-port=81-path=_] PASSED [ 47%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=http-host=fqdn.-port=81-path=/] PASSED [ 47%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=https-host=_-port=_-path=_] PASSED [ 47%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=https-host=_-port=_-path=/] PASSED [ 48%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=https-host=_-port=None-path=_] PASSED [ 48%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=https-host=_-port=None-path=/] PASSED [ 48%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=https-host=_-port=81-path=_] PASSED [ 48%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=https-host=_-port=81-path=/] PASSED [ 48%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=https-host=1.1.1.1-port=_-path=_] PASSED [ 49%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=https-host=1.1.1.1-port=_-path=/] PASSED [ 49%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=https-host=1.1.1.1-port=None-path=_] PASSED [ 49%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=https-host=1.1.1.1-port=None-path=/] PASSED [ 49%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=https-host=1.1.1.1-port=81-path=_] PASSED [ 49%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=https-host=1.1.1.1-port=81-path=/] PASSED [ 50%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=https-host=[fe80::1]-port=_-path=_] PASSED [ 50%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=https-host=[fe80::1]-port=_-path=/] PASSED [ 50%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=https-host=[fe80::1]-port=None-path=_] PASSED [ 50%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=https-host=[fe80::1]-port=None-path=/] PASSED [ 50%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=https-host=[fe80::1]-port=81-path=_] PASSED [ 51%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=https-host=[fe80::1]-port=81-path=/] PASSED [ 51%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=https-host=fqdn.-port=_-path=_] PASSED [ 51%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=https-host=fqdn.-port=_-path=/] PASSED [ 51%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=https-host=fqdn.-port=None-path=_] PASSED [ 51%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=https-host=fqdn.-port=None-path=/] PASSED [ 52%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=https-host=fqdn.-port=81-path=_] PASSED [ 52%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=https-host=fqdn.-port=81-path=/] PASSED [ 52%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=random-host=_-port=_-path=_] PASSED [ 52%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=random-host=_-port=_-path=/] PASSED [ 52%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=random-host=_-port=None-path=_] PASSED [ 53%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=random-host=_-port=None-path=/] PASSED [ 53%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=random-host=_-port=81-path=_] PASSED [ 53%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=random-host=_-port=81-path=/] PASSED [ 53%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=random-host=1.1.1.1-port=_-path=_] PASSED [ 53%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=random-host=1.1.1.1-port=_-path=/] PASSED [ 54%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=random-host=1.1.1.1-port=None-path=_] PASSED [ 54%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=random-host=1.1.1.1-port=None-path=/] PASSED [ 54%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=random-host=1.1.1.1-port=81-path=_] PASSED [ 54%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=random-host=1.1.1.1-port=81-path=/] PASSED [ 54%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=random-host=[fe80::1]-port=_-path=_] PASSED [ 55%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=random-host=[fe80::1]-port=_-path=/] PASSED [ 55%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=random-host=[fe80::1]-port=None-path=_] PASSED [ 55%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=random-host=[fe80::1]-port=None-path=/] PASSED [ 55%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=random-host=[fe80::1]-port=81-path=_] PASSED [ 56%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=random-host=[fe80::1]-port=81-path=/] PASSED [ 56%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=random-host=fqdn.-port=_-path=_] PASSED [ 56%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=random-host=fqdn.-port=_-path=/] PASSED [ 56%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=random-host=fqdn.-port=None-path=_] PASSED [ 56%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=random-host=fqdn.-port=None-path=/] PASSED [ 57%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=random-host=fqdn.-port=81-path=_] PASSED [ 57%] tests/test_test_helpers.py::test_rebuild_uri[base=127.0.0.1:8001-scheme=random-host=fqdn.-port=81-path=/] PASSED [ 57%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=_-host=_-port=_-path=_] PASSED [ 57%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=_-host=_-port=_-path=/] PASSED [ 57%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=_-host=_-port=None-path=_] PASSED [ 58%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=_-host=_-port=None-path=/] PASSED [ 58%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=_-host=_-port=81-path=_] PASSED [ 58%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=_-host=_-port=81-path=/] PASSED [ 58%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=_-host=1.1.1.1-port=_-path=_] PASSED [ 58%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=_-host=1.1.1.1-port=_-path=/] PASSED [ 59%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=_-host=1.1.1.1-port=None-path=_] PASSED [ 59%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=_-host=1.1.1.1-port=None-path=/] PASSED [ 59%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=_-host=1.1.1.1-port=81-path=_] PASSED [ 59%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=_-host=1.1.1.1-port=81-path=/] PASSED [ 59%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=_-host=[fe80::1]-port=_-path=_] PASSED [ 60%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=_-host=[fe80::1]-port=_-path=/] PASSED [ 60%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=_-host=[fe80::1]-port=None-path=_] PASSED [ 60%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=_-host=[fe80::1]-port=None-path=/] PASSED [ 60%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=_-host=[fe80::1]-port=81-path=_] PASSED [ 60%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=_-host=[fe80::1]-port=81-path=/] PASSED [ 61%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=_-host=fqdn.-port=_-path=_] PASSED [ 61%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=_-host=fqdn.-port=_-path=/] PASSED [ 61%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=_-host=fqdn.-port=None-path=_] PASSED [ 61%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=_-host=fqdn.-port=None-path=/] PASSED [ 61%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=_-host=fqdn.-port=81-path=_] PASSED [ 62%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=_-host=fqdn.-port=81-path=/] PASSED [ 62%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=http-host=_-port=_-path=_] PASSED [ 62%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=http-host=_-port=_-path=/] PASSED [ 62%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=http-host=_-port=None-path=_] PASSED [ 62%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=http-host=_-port=None-path=/] PASSED [ 63%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=http-host=_-port=81-path=_] PASSED [ 63%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=http-host=_-port=81-path=/] PASSED [ 63%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=http-host=1.1.1.1-port=_-path=_] PASSED [ 63%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=http-host=1.1.1.1-port=_-path=/] PASSED [ 63%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=http-host=1.1.1.1-port=None-path=_] PASSED [ 64%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=http-host=1.1.1.1-port=None-path=/] PASSED [ 64%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=http-host=1.1.1.1-port=81-path=_] PASSED [ 64%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=http-host=1.1.1.1-port=81-path=/] PASSED [ 64%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=http-host=[fe80::1]-port=_-path=_] PASSED [ 64%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=http-host=[fe80::1]-port=_-path=/] PASSED [ 65%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=http-host=[fe80::1]-port=None-path=_] PASSED [ 65%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=http-host=[fe80::1]-port=None-path=/] PASSED [ 65%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=http-host=[fe80::1]-port=81-path=_] PASSED [ 65%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=http-host=[fe80::1]-port=81-path=/] PASSED [ 65%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=http-host=fqdn.-port=_-path=_] PASSED [ 66%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=http-host=fqdn.-port=_-path=/] PASSED [ 66%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=http-host=fqdn.-port=None-path=_] PASSED [ 66%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=http-host=fqdn.-port=None-path=/] PASSED [ 66%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=http-host=fqdn.-port=81-path=_] PASSED [ 67%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=http-host=fqdn.-port=81-path=/] PASSED [ 67%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=https-host=_-port=_-path=_] PASSED [ 67%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=https-host=_-port=_-path=/] PASSED [ 67%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=https-host=_-port=None-path=_] PASSED [ 67%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=https-host=_-port=None-path=/] PASSED [ 68%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=https-host=_-port=81-path=_] PASSED [ 68%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=https-host=_-port=81-path=/] PASSED [ 68%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=https-host=1.1.1.1-port=_-path=_] PASSED [ 68%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=https-host=1.1.1.1-port=_-path=/] PASSED [ 68%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=https-host=1.1.1.1-port=None-path=_] PASSED [ 69%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=https-host=1.1.1.1-port=None-path=/] PASSED [ 69%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=https-host=1.1.1.1-port=81-path=_] PASSED [ 69%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=https-host=1.1.1.1-port=81-path=/] PASSED [ 69%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=https-host=[fe80::1]-port=_-path=_] PASSED [ 69%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=https-host=[fe80::1]-port=_-path=/] PASSED [ 70%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=https-host=[fe80::1]-port=None-path=_] PASSED [ 70%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=https-host=[fe80::1]-port=None-path=/] PASSED [ 70%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=https-host=[fe80::1]-port=81-path=_] PASSED [ 70%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=https-host=[fe80::1]-port=81-path=/] PASSED [ 70%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=https-host=fqdn.-port=_-path=_] PASSED [ 71%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=https-host=fqdn.-port=_-path=/] PASSED [ 71%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=https-host=fqdn.-port=None-path=_] PASSED [ 71%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=https-host=fqdn.-port=None-path=/] PASSED [ 71%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=https-host=fqdn.-port=81-path=_] PASSED [ 71%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=https-host=fqdn.-port=81-path=/] PASSED [ 72%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=random-host=_-port=_-path=_] PASSED [ 72%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=random-host=_-port=_-path=/] PASSED [ 72%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=random-host=_-port=None-path=_] PASSED [ 72%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=random-host=_-port=None-path=/] PASSED [ 72%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=random-host=_-port=81-path=_] PASSED [ 73%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=random-host=_-port=81-path=/] PASSED [ 73%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=random-host=1.1.1.1-port=_-path=_] PASSED [ 73%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=random-host=1.1.1.1-port=_-path=/] PASSED [ 73%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=random-host=1.1.1.1-port=None-path=_] PASSED [ 73%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=random-host=1.1.1.1-port=None-path=/] PASSED [ 74%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=random-host=1.1.1.1-port=81-path=_] PASSED [ 74%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=random-host=1.1.1.1-port=81-path=/] PASSED [ 74%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=random-host=[fe80::1]-port=_-path=_] PASSED [ 74%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=random-host=[fe80::1]-port=_-path=/] PASSED [ 74%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=random-host=[fe80::1]-port=None-path=_] PASSED [ 75%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=random-host=[fe80::1]-port=None-path=/] PASSED [ 75%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=random-host=[fe80::1]-port=81-path=_] PASSED [ 75%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=random-host=[fe80::1]-port=81-path=/] PASSED [ 75%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=random-host=fqdn.-port=_-path=_] PASSED [ 75%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=random-host=fqdn.-port=_-path=/] PASSED [ 76%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=random-host=fqdn.-port=None-path=_] PASSED [ 76%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=random-host=fqdn.-port=None-path=/] PASSED [ 76%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=random-host=fqdn.-port=81-path=_] PASSED [ 76%] tests/test_test_helpers.py::test_rebuild_uri[base=//[::1]/path1-scheme=random-host=fqdn.-port=81-path=/] PASSED [ 76%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=_-host=_-port=_-path=_] PASSED [ 77%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=_-host=_-port=_-path=/] PASSED [ 77%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=_-host=_-port=None-path=_] PASSED [ 77%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=_-host=_-port=None-path=/] PASSED [ 77%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=_-host=_-port=81-path=_] PASSED [ 78%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=_-host=_-port=81-path=/] PASSED [ 78%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=_-host=1.1.1.1-port=_-path=_] PASSED [ 78%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=_-host=1.1.1.1-port=_-path=/] PASSED [ 78%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=_-host=1.1.1.1-port=None-path=_] PASSED [ 78%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=_-host=1.1.1.1-port=None-path=/] PASSED [ 79%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=_-host=1.1.1.1-port=81-path=_] PASSED [ 79%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=_-host=1.1.1.1-port=81-path=/] PASSED [ 79%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=_-host=[fe80::1]-port=_-path=_] PASSED [ 79%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=_-host=[fe80::1]-port=_-path=/] PASSED [ 79%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=_-host=[fe80::1]-port=None-path=_] PASSED [ 80%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=_-host=[fe80::1]-port=None-path=/] PASSED [ 80%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=_-host=[fe80::1]-port=81-path=_] PASSED [ 80%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=_-host=[fe80::1]-port=81-path=/] PASSED [ 80%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=_-host=fqdn.-port=_-path=_] PASSED [ 80%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=_-host=fqdn.-port=_-path=/] PASSED [ 81%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=_-host=fqdn.-port=None-path=_] PASSED [ 81%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=_-host=fqdn.-port=None-path=/] PASSED [ 81%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=_-host=fqdn.-port=81-path=_] PASSED [ 81%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=_-host=fqdn.-port=81-path=/] PASSED [ 81%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=http-host=_-port=_-path=_] PASSED [ 82%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=http-host=_-port=_-path=/] PASSED [ 82%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=http-host=_-port=None-path=_] PASSED [ 82%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=http-host=_-port=None-path=/] PASSED [ 82%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=http-host=_-port=81-path=_] PASSED [ 82%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=http-host=_-port=81-path=/] PASSED [ 83%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=http-host=1.1.1.1-port=_-path=_] PASSED [ 83%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=http-host=1.1.1.1-port=_-path=/] PASSED [ 83%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=http-host=1.1.1.1-port=None-path=_] PASSED [ 83%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=http-host=1.1.1.1-port=None-path=/] PASSED [ 83%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=http-host=1.1.1.1-port=81-path=_] PASSED [ 84%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=http-host=1.1.1.1-port=81-path=/] PASSED [ 84%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=http-host=[fe80::1]-port=_-path=_] PASSED [ 84%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=http-host=[fe80::1]-port=_-path=/] PASSED [ 84%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=http-host=[fe80::1]-port=None-path=_] PASSED [ 84%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=http-host=[fe80::1]-port=None-path=/] PASSED [ 85%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=http-host=[fe80::1]-port=81-path=_] PASSED [ 85%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=http-host=[fe80::1]-port=81-path=/] PASSED [ 85%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=http-host=fqdn.-port=_-path=_] PASSED [ 85%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=http-host=fqdn.-port=_-path=/] PASSED [ 85%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=http-host=fqdn.-port=None-path=_] PASSED [ 86%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=http-host=fqdn.-port=None-path=/] PASSED [ 86%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=http-host=fqdn.-port=81-path=_] PASSED [ 86%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=http-host=fqdn.-port=81-path=/] PASSED [ 86%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=https-host=_-port=_-path=_] PASSED [ 86%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=https-host=_-port=_-path=/] PASSED [ 87%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=https-host=_-port=None-path=_] PASSED [ 87%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=https-host=_-port=None-path=/] PASSED [ 87%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=https-host=_-port=81-path=_] PASSED [ 87%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=https-host=_-port=81-path=/] PASSED [ 87%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=https-host=1.1.1.1-port=_-path=_] PASSED [ 88%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=https-host=1.1.1.1-port=_-path=/] PASSED [ 88%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=https-host=1.1.1.1-port=None-path=_] PASSED [ 88%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=https-host=1.1.1.1-port=None-path=/] PASSED [ 88%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=https-host=1.1.1.1-port=81-path=_] PASSED [ 89%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=https-host=1.1.1.1-port=81-path=/] PASSED [ 89%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=https-host=[fe80::1]-port=_-path=_] PASSED [ 89%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=https-host=[fe80::1]-port=_-path=/] PASSED [ 89%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=https-host=[fe80::1]-port=None-path=_] PASSED [ 89%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=https-host=[fe80::1]-port=None-path=/] PASSED [ 90%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=https-host=[fe80::1]-port=81-path=_] PASSED [ 90%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=https-host=[fe80::1]-port=81-path=/] PASSED [ 90%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=https-host=fqdn.-port=_-path=_] PASSED [ 90%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=https-host=fqdn.-port=_-path=/] PASSED [ 90%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=https-host=fqdn.-port=None-path=_] PASSED [ 91%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=https-host=fqdn.-port=None-path=/] PASSED [ 91%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=https-host=fqdn.-port=81-path=_] PASSED [ 91%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=https-host=fqdn.-port=81-path=/] PASSED [ 91%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=random-host=_-port=_-path=_] PASSED [ 91%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=random-host=_-port=_-path=/] PASSED [ 92%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=random-host=_-port=None-path=_] PASSED [ 92%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=random-host=_-port=None-path=/] PASSED [ 92%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=random-host=_-port=81-path=_] PASSED [ 92%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=random-host=_-port=81-path=/] PASSED [ 92%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=random-host=1.1.1.1-port=_-path=_] PASSED [ 93%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=random-host=1.1.1.1-port=_-path=/] PASSED [ 93%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=random-host=1.1.1.1-port=None-path=_] PASSED [ 93%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=random-host=1.1.1.1-port=None-path=/] PASSED [ 93%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=random-host=1.1.1.1-port=81-path=_] PASSED [ 93%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=random-host=1.1.1.1-port=81-path=/] PASSED [ 94%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=random-host=[fe80::1]-port=_-path=_] PASSED [ 94%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=random-host=[fe80::1]-port=_-path=/] PASSED [ 94%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=random-host=[fe80::1]-port=None-path=_] PASSED [ 94%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=random-host=[fe80::1]-port=None-path=/] PASSED [ 94%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=random-host=[fe80::1]-port=81-path=_] PASSED [ 95%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=random-host=[fe80::1]-port=81-path=/] PASSED [ 95%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=random-host=fqdn.-port=_-path=_] PASSED [ 95%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=random-host=fqdn.-port=_-path=/] PASSED [ 95%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=random-host=fqdn.-port=None-path=_] PASSED [ 95%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=random-host=fqdn.-port=None-path=/] PASSED [ 96%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=random-host=fqdn.-port=81-path=_] PASSED [ 96%] tests/test_test_helpers.py::test_rebuild_uri[base=https://foo.bar:8443/p?query-scheme=random-host=fqdn.-port=81-path=/] PASSED [ 96%] tests/test_uri.py::test_from_std66 PASSED [ 96%] tests/test_uri.py::test_norm PASSED [ 96%] tests/test_uri.py::test_safename[('', ',d41d8cd98f00b204e9800998ecf8427e')] PASSED [ 97%] tests/test_uri.py::test_safename[('http://example.org/fred/?a=b', 'example.orgfreda=b,58489f63a7a83c3b7794a6a398ee8b1f')] PASSED [ 97%] tests/test_uri.py::test_safename[('http://example.org/fred?/a=b', 'example.orgfreda=b,8c5946d56fec453071f43329ff0be46b')] PASSED [ 97%] tests/test_uri.py::test_safename[('http://www.example.org/fred?/a=b', 'www.example.orgfreda=b,499c44b8d844a011b67ea2c015116968')] PASSED [ 97%] tests/test_uri.py::test_safename[('https://www.example.org/fred?/a=b', 'www.example.orgfreda=b,692e843a333484ce0095b070497ab45d')] PASSED [ 97%] tests/test_uri.py::test_safename[('http://www/', 'www,1c73b6efd55cef1164fc084ecc331965')] PASSED [ 98%] tests/test_uri.py::test_safename[('http://\u2304.org/fred/?a=b', '.orgfreda=b,ecaf0f97756c0716de76f593bd60a35e')] PASSED [ 98%] tests/test_uri.py::test_safename[('normal-resource-name.js', 'normal-resource-name.js,8ff7c46fd6e61bf4e91a0a1606954a54')] PASSED [ 98%] tests/test_uri.py::test_safename[('foo://dom/path/brath/carapath', 'dompathbrathcarapath,83db942781ed975c7a5b7c24039f8ca3')] PASSED [ 98%] tests/test_uri.py::test_safename[('with/slash', 'withslash,17cc656656bb8ce2411bd41ead56d176')] PASSED [ 98%] tests/test_uri.py::test_safename[('thisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuch', 'thisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuchthisistoomuc,c4553439dd179422c6acf6a8ac093eb6')] PASSED [ 99%] tests/test_uri.py::test_safename[('\u043f\u0440', ',9f18c0db74a9734e9d18461e16345083')] PASSED [ 99%] tests/test_uri.py::test_safename[(b'\\xd0\\xbf\\xd1\\x80', ',9f18c0db74a9734e9d18461e16345083')] PASSED [ 99%] tests/test_uri.py::test_safename[(b'column\\tvalues/unstr.zip', 'columnvaluesunstr.zip,b9740dcd0553e11b526450ceb8f76683')] PASSED [ 99%] tests/test_uri.py::test_safename2 PASSED [100%] =================================== FAILURES =================================== ______________________ test_client_cert_password_verified ______________________ tests/test_https.py:151: in test_client_cert_password_verified expect_serial = tests.x509_serial(tests.CLIENT_ENCRYPTED_PEM) if tests.x509 else 16332984194609126128 cert_log = [{'issuer': ((('countryName', 'ZZ'),), (('stateOrProvinceName', '.'),), (('localityName', '.'),), (('organizationName'...tAfter': 'Oct 1 23:57:26 2031 GMT', 'notBefore': 'Oct 3 23:57:26 2021 GMT', 'serialNumber': 'E2AA6A96D1BF1AF0', ...}] handler = .handler at 0x4003ff64d0> http = setup_tls = .setup_tls at 0x4003ff6320> uri = 'https://localhost:52011/' uri_parsed = ParseResult(scheme='https', netloc='localhost:52011', path='/', params='', query='', fragment='') tests/__init__.py:786: in x509_serial cert = x509.load_pem_x509_certificate(pem) f = <_io.BufferedReader name='/build/python-httplib2/src/httplib2-0.20.3/tests/tls/client_encrypted.pem'> path = '/build/python-httplib2/src/httplib2-0.20.3/tests/tls/client_encrypted.pem' pem = b'serial=E2AA6A96D1BF1AF0\nSHA1 Fingerprint=FB:42:16:53:02:8D:EA:F9:66:DB:BD:88:37:E1:93:7E:97:21:29:23\n-----BEGIN CE...LOQ4D+jK8/fcV9bhBuH\nLzBJ4gtPwUnvYqsaiIAeGi2EVllW0Ka+aTTzM1Yascl2q9WROvutAT0zz0M6smpO\n-----END RSA PRIVATE KEY-----\n' /usr/lib/python3.10/site-packages/cryptography/x509/base.py:531: in load_pem_x509_certificate return rust_x509.load_pem_x509_certificate(data) E ValueError: Unable to load PEM file. See https://cryptography.io/en/latest/faq.html#why-can-t-i-import-my-pem-file for more details. InvalidData(InvalidByte(4, 45)) backend = None data = b'serial=E2AA6A96D1BF1AF0\nSHA1 Fingerprint=FB:42:16:53:02:8D:EA:F9:66:DB:BD:88:37:E1:93:7E:97:21:29:23\n-----BEGIN CE...LOQ4D+jK8/fcV9bhBuH\nLzBJ4gtPwUnvYqsaiIAeGi2EVllW0Ka+aTTzM1Yascl2q9WROvutAT0zz0M6smpO\n-----END RSA PRIVATE KEY-----\n' =============================== warnings summary =============================== tests/__init__.py:762 tests/__init__.py:762 tests/__init__.py:762 tests/__init__.py:762 /build/python-httplib2/src/httplib2-0.20.3/tests/__init__.py:762: DeprecationWarning: ssl.SSLContext() without protocol argument is deprecated. return ssl.SSLContext() tests/__init__.py:762 tests/__init__.py:762 tests/__init__.py:762 tests/__init__.py:762 /build/python-httplib2/src/httplib2-0.20.3/tests/__init__.py:762: DeprecationWarning: ssl.PROTOCOL_TLS is deprecated return ssl.SSLContext() tests/test_https.py: 11 warnings tests/test_proxy.py: 1 warning /build/python-httplib2/src/httplib2-0.20.3/tests/__init__.py:361: DeprecationWarning: ssl.PROTOCOL_TLS is deprecated ssl_context = ssl.SSLContext(getattr(ssl, "PROTOCOL_TLS", None) or getattr(ssl, "PROTOCOL_SSLv23")) tests/test_https.py: 17 warnings tests/test_other.py: 3 warnings tests/test_proxy.py: 1 warning /build/python-httplib2/src/httplib2-0.20.3/build/lib/httplib2/__init__.py:147: DeprecationWarning: ssl.PROTOCOL_TLS is deprecated context = ssl.SSLContext(DEFAULT_TLS_VERSION) tests/test_https.py::test_set_tls_version[None-maximum_version] tests/test_https.py::test_set_tls_version[None-minimum_version] tests/test_https.py::test_set_tls_version[TLSv1_2-maximum_version] tests/test_https.py::test_set_tls_version[TLSv1_2-minimum_version] tests/test_https.py::test_set_tls_version[TLSVersion.TLSv1_2-maximum_version] tests/test_https.py::test_set_tls_version[TLSVersion.TLSv1_2-minimum_version] /build/python-httplib2/src/httplib2-0.20.3/tests/test_https.py:86: DeprecationWarning: ssl.SSLContext() without protocol argument is deprecated. expect_success = hasattr(ssl.SSLContext(), attr) tests/test_https.py::test_set_tls_version[None-maximum_version] tests/test_https.py::test_set_tls_version[None-minimum_version] tests/test_https.py::test_set_tls_version[TLSv1_2-maximum_version] tests/test_https.py::test_set_tls_version[TLSv1_2-minimum_version] tests/test_https.py::test_set_tls_version[TLSVersion.TLSv1_2-maximum_version] tests/test_https.py::test_set_tls_version[TLSVersion.TLSv1_2-minimum_version] /build/python-httplib2/src/httplib2-0.20.3/tests/test_https.py:86: DeprecationWarning: ssl.PROTOCOL_TLS is deprecated expect_success = hasattr(ssl.SSLContext(), attr) -- Docs: https://docs.pytest.org/en/stable/warnings.html ---------- coverage: platform linux, python 3.10.1-final-0 ----------- Name Stmts Miss Cover ---------------------------------------------------- build/lib/httplib2/__init__.py 924 145 84% build/lib/httplib2/auth.py 40 3 92% build/lib/httplib2/certs.py 29 3 90% build/lib/httplib2/error.py 25 0 100% build/lib/httplib2/iri2uri.py 41 15 63% build/lib/httplib2/socks.py 244 133 45% ---------------------------------------------------- TOTAL 1303 299 77% =========================== short test summary info ============================ SKIPPED [4] tests/test_auth.py:249: benchmark disabled by default, set env httplib2_test_bench=1 SKIPPED [1] tests/test_cache.py:48: was commented in legacy code SKIPPED [1] tests/test_http.py:240: FIXME: timeout on CI py27 and pypy, works elsewhere SKIPPED [1] tests/test_http.py:382: FIXME: timeout on CI py27 and pypy, works elsewhere SKIPPED [1] tests/test_http.py:524: was commented in legacy code XFAIL tests/test_http.py::test_get_301_no_redirect FIXME: 301 cache works only with follow_redirects, should work regardless XPASS tests/test_other.py::test_timeout_global FIXME: for unknown reason global timeout test fails in Python3 with response 200 FAILED tests/test_https.py::test_client_cert_password_verified - ValueError: ... = 1 failed, 480 passed, 8 skipped, 1 xfailed, 1 xpassed, 53 warnings in 36.42s = ==> ERROR: A failure occurred in check().  Aborting...