tests/test_utils.py::TestSuperLen::test_io_streams[StringIO-Test]
tests/test_utils.py::TestSuperLen::test_io_streams[BytesIO-Test]
tests/test_utils.py::TestSuperLen::test_io_streams[None-Test]
tests/test_utils.py::TestSuperLen::test_super_len_correctly_calculates_len_of_partially_read_file
tests/test_utils.py::TestSuperLen::test_super_len_handles_files_raising_weird_errors_in_tell[OSError0]
tests/test_utils.py::TestSuperLen::test_super_len_handles_files_raising_weird_errors_in_tell[OSError1]
tests/test_utils.py::TestSuperLen::test_super_len_tell_ioerror[OSError0]
tests/test_utils.py::TestSuperLen::test_super_len_tell_ioerror[OSError1]
tests/test_utils.py::TestSuperLen::test_string
tests/test_utils.py::TestSuperLen::test_file[r-1]
tests/test_utils.py::TestSuperLen::test_file[rb-0]
tests/test_utils.py::TestSuperLen::test_tarfile_member
tests/test_utils.py::TestSuperLen::test_super_len_with__len__
tests/test_utils.py::TestSuperLen::test_super_len_with_no__len__
tests/test_utils.py::TestSuperLen::test_super_len_with_tell
tests/test_utils.py::TestSuperLen::test_super_len_with_fileno
tests/test_utils.py::TestSuperLen::test_super_len_with_no_matches
tests/test_utils.py::TestToKeyValList::test_valid[value0-expected0]
tests/test_utils.py::TestToKeyValList::test_valid[value1-expected1]
tests/test_utils.py::TestToKeyValList::test_valid[value2-expected2]
tests/test_utils.py::TestToKeyValList::test_valid[None-None]
tests/test_utils.py::TestToKeyValList::test_invalid
tests/test_utils.py::TestUnquoteHeaderValue::test_valid[None-None]
tests/test_utils.py::TestUnquoteHeaderValue::test_valid[Test-Test]
tests/test_utils.py::TestUnquoteHeaderValue::test_valid["Test"-Test]
tests/test_utils.py::TestUnquoteHeaderValue::test_valid["Test\\\\"-Test\\]
tests/test_utils.py::TestUnquoteHeaderValue::test_valid["\\\\Comp\\Res"-\\Comp\\Res]
tests/test_utils.py::TestUnquoteHeaderValue::test_is_filename
tests/test_utils.py::TestGetEnvironProxies::test_bypass[no_proxy-http://192.168.0.1:5000/]
tests/test_utils.py::TestGetEnvironProxies::test_bypass[no_proxy-http://192.168.0.1/]
tests/test_utils.py::TestGetEnvironProxies::test_bypass[no_proxy-http://172.16.1.1/]
tests/test_utils.py::TestGetEnvironProxies::test_bypass[no_proxy-http://172.16.1.1:5000/]
tests/test_utils.py::TestGetEnvironProxies::test_bypass[no_proxy-http://localhost.localdomain:5000/v1.0/]
tests/test_utils.py::TestGetEnvironProxies::test_bypass[NO_PROXY-http://192.168.0.1:5000/]
tests/test_utils.py::TestGetEnvironProxies::test_bypass[NO_PROXY-http://192.168.0.1/]
tests/test_utils.py::TestGetEnvironProxies::test_bypass[NO_PROXY-http://172.16.1.1/]
tests/test_utils.py::TestGetEnvironProxies::test_bypass[NO_PROXY-http://172.16.1.1:5000/]
tests/test_utils.py::TestGetEnvironProxies::test_bypass[NO_PROXY-http://localhost.localdomain:5000/v1.0/]
tests/test_utils.py::TestGetEnvironProxies::test_not_bypass[no_proxy-http://192.168.1.1:5000/]
tests/test_utils.py::TestGetEnvironProxies::test_not_bypass[no_proxy-http://192.168.1.1/]
tests/test_utils.py::TestGetEnvironProxies::test_not_bypass[no_proxy-http://www.requests.com/]
tests/test_utils.py::TestGetEnvironProxies::test_not_bypass[NO_PROXY-http://192.168.1.1:5000/]
tests/test_utils.py::TestGetEnvironProxies::test_not_bypass[NO_PROXY-http://192.168.1.1/]
tests/test_utils.py::TestGetEnvironProxies::test_not_bypass[NO_PROXY-http://www.requests.com/]
tests/test_utils.py::TestGetEnvironProxies::test_bypass_no_proxy_keyword[no_proxy-http://192.168.1.1:5000/]
tests/test_utils.py::TestGetEnvironProxies::test_bypass_no_proxy_keyword[no_proxy-http://192.168.1.1/]
tests/test_utils.py::TestGetEnvironProxies::test_bypass_no_proxy_keyword[no_proxy-http://www.requests.com/]
tests/test_utils.py::TestGetEnvironProxies::test_bypass_no_proxy_keyword[NO_PROXY-http://192.168.1.1:5000/]
tests/test_utils.py::TestGetEnvironProxies::test_bypass_no_proxy_keyword[NO_PROXY-http://192.168.1.1/]
tests/test_utils.py::TestGetEnvironProxies::test_bypass_no_proxy_keyword[NO_PROXY-http://www.requests.com/]
tests/test_utils.py::TestGetEnvironProxies::test_not_bypass_no_proxy_keyword[no_proxy-http://192.168.0.1:5000/]
tests/test_utils.py::TestGetEnvironProxies::test_not_bypass_no_proxy_keyword[no_proxy-http://192.168.0.1/]
tests/test_utils.py::TestGetEnvironProxies::test_not_bypass_no_proxy_keyword[no_proxy-http://172.16.1.1/]
tests/test_utils.py::TestGetEnvironProxies::test_not_bypass_no_proxy_keyword[no_proxy-http://172.16.1.1:5000/]
tests/test_utils.py::TestGetEnvironProxies::test_not_bypass_no_proxy_keyword[no_proxy-http://localhost.localdomain:5000/v1.0/]
tests/test_utils.py::TestGetEnvironProxies::test_not_bypass_no_proxy_keyword[NO_PROXY-http://192.168.0.1:5000/]
tests/test_utils.py::TestGetEnvironProxies::test_not_bypass_no_proxy_keyword[NO_PROXY-http://192.168.0.1/]
tests/test_utils.py::TestGetEnvironProxies::test_not_bypass_no_proxy_keyword[NO_PROXY-http://172.16.1.1/]
tests/test_utils.py::TestGetEnvironProxies::test_not_bypass_no_proxy_keyword[NO_PROXY-http://172.16.1.1:5000/]
tests/test_utils.py::TestGetEnvironProxies::test_not_bypass_no_proxy_keyword[NO_PROXY-http://localhost.localdomain:5000/v1.0/]
tests/test_utils.py::TestIsIPv4Address::test_valid
tests/test_utils.py::TestIsIPv4Address::test_invalid[8.8.8.8.8]
tests/test_utils.py::TestIsIPv4Address::test_invalid[localhost.localdomain]
tests/test_utils.py::TestIsValidCIDR::test_valid
tests/test_utils.py::TestIsValidCIDR::test_invalid[8.8.8.8]
tests/test_utils.py::TestIsValidCIDR::test_invalid[192.168.1.0/a]
tests/test_utils.py::TestIsValidCIDR::test_invalid[192.168.1.0/128]
tests/test_utils.py::TestIsValidCIDR::test_invalid[192.168.1.0/-1]
tests/test_utils.py::TestIsValidCIDR::test_invalid[192.168.1.999/24]
tests/test_utils.py::TestAddressInNetwork::test_valid
tests/test_utils.py::TestAddressInNetwork::test_invalid
tests/test_utils.py::TestGuessFilename::test_guess_filename_invalid[1]
tests/test_utils.py::TestGuessFilename::test_guess_filename_invalid[value1]
tests/test_utils.py::TestGuessFilename::test_guess_filename_valid[value-bytes]
tests/test_utils.py::TestGuessFilename::test_guess_filename_valid[value-str]
tests/test_utils.py::TestExtractZippedPaths::test_unzipped_paths_unchanged[/]
tests/test_utils.py::TestExtractZippedPaths::test_unzipped_paths_unchanged[/home/ubuntu/hackproof-bench/runs/psf__requests-6028/probe/tests/test_utils.py]
tests/test_utils.py::TestExtractZippedPaths::test_unzipped_paths_unchanged[path2]
tests/test_utils.py::TestExtractZippedPaths::test_unzipped_paths_unchanged[/etc/invalid/location]
tests/test_utils.py::TestExtractZippedPaths::test_zipped_paths_extracted
tests/test_utils.py::TestExtractZippedPaths::test_invalid_unc_path
tests/test_utils.py::TestContentEncodingDetection::test_none
tests/test_utils.py::TestContentEncodingDetection::test_pragmas[<meta charset="UTF-8">]
tests/test_utils.py::TestContentEncodingDetection::test_pragmas[<meta http-equiv="Content-type" content="text/html;charset=UTF-8">]
tests/test_utils.py::TestContentEncodingDetection::test_pragmas[<meta http-equiv="Content-type" content="text/html;charset=UTF-8" />]
tests/test_utils.py::TestContentEncodingDetection::test_pragmas[<?xml version="1.0" encoding="UTF-8"?>]
tests/test_utils.py::TestContentEncodingDetection::test_precedence
tests/test_utils.py::TestGuessJSONUTF::test_encoded[utf-32]
tests/test_utils.py::TestGuessJSONUTF::test_encoded[utf-8-sig]
tests/test_utils.py::TestGuessJSONUTF::test_encoded[utf-16]
tests/test_utils.py::TestGuessJSONUTF::test_encoded[utf-8]
tests/test_utils.py::TestGuessJSONUTF::test_encoded[utf-16-be]
tests/test_utils.py::TestGuessJSONUTF::test_encoded[utf-16-le]
tests/test_utils.py::TestGuessJSONUTF::test_encoded[utf-32-be]
tests/test_utils.py::TestGuessJSONUTF::test_encoded[utf-32-le]
tests/test_utils.py::TestGuessJSONUTF::test_bad_utf_like_encoding
tests/test_utils.py::TestGuessJSONUTF::test_guess_by_bom[utf-16-be-utf-16]
tests/test_utils.py::TestGuessJSONUTF::test_guess_by_bom[utf-16-le-utf-16]
tests/test_utils.py::TestGuessJSONUTF::test_guess_by_bom[utf-32-be-utf-32]
tests/test_utils.py::TestGuessJSONUTF::test_guess_by_bom[utf-32-le-utf-32]
tests/test_utils.py::test_get_auth_from_url[url0-auth0]
tests/test_utils.py::test_get_auth_from_url[http://user:pass@complex.url.com/path?query=yes-auth1]
tests/test_utils.py::test_get_auth_from_url[http://user:pass%20pass@complex.url.com/path?query=yes-auth2]
tests/test_utils.py::test_get_auth_from_url[http://user:pass pass@complex.url.com/path?query=yes-auth3]
tests/test_utils.py::test_get_auth_from_url[http://user%25user:pass@complex.url.com/path?query=yes-auth4]
tests/test_utils.py::test_get_auth_from_url[http://user:pass%23pass@complex.url.com/path?query=yes-auth5]
tests/test_utils.py::test_get_auth_from_url[http://complex.url.com/path?query=yes-auth6]
tests/test_utils.py::test_requote_uri_with_unquoted_percents[http://example.com/fiz?buz=%25ppicture-http://example.com/fiz?buz=%25ppicture]
tests/test_utils.py::test_requote_uri_with_unquoted_percents[http://example.com/fiz?buz=%ppicture-http://example.com/fiz?buz=%25ppicture]
tests/test_utils.py::test_unquote_unreserved[http://example.com/?a=%---http://example.com/?a=%--]
tests/test_utils.py::test_unquote_unreserved[http://example.com/?a=%300-http://example.com/?a=00]
tests/test_utils.py::test_dotted_netmask[8-255.0.0.0]
tests/test_utils.py::test_dotted_netmask[24-255.255.255.0]
tests/test_utils.py::test_dotted_netmask[25-255.255.255.128]
tests/test_utils.py::test_select_proxies[hTTp://u:p@Some.Host/path-http://some.host.proxy-proxies0]
tests/test_utils.py::test_select_proxies[hTTp://u:p@Other.Host/path-http://http.proxy-proxies1]
tests/test_utils.py::test_select_proxies[hTTp:///path-http://http.proxy-proxies2]
tests/test_utils.py::test_select_proxies[hTTps://Other.Host-None-proxies3]
tests/test_utils.py::test_select_proxies[file:///etc/motd-None-proxies4]
tests/test_utils.py::test_select_proxies[hTTp://u:p@Some.Host/path-socks5://some.host.proxy-proxies5]
tests/test_utils.py::test_select_proxies[hTTp://u:p@Other.Host/path-socks5://http.proxy-proxies6]
tests/test_utils.py::test_select_proxies[hTTp:///path-socks5://http.proxy-proxies7]
tests/test_utils.py::test_select_proxies[hTTps://Other.Host-socks5://http.proxy-proxies8]
tests/test_utils.py::test_select_proxies[http://u:p@other.host/path-http://http.proxy-proxies9]
tests/test_utils.py::test_select_proxies[http://u:p@some.host/path-http://some.host.proxy-proxies10]
tests/test_utils.py::test_select_proxies[https://u:p@other.host/path-socks5://http.proxy-proxies11]
tests/test_utils.py::test_select_proxies[https://u:p@some.host/path-socks5://http.proxy-proxies12]
tests/test_utils.py::test_select_proxies[https://-socks5://http.proxy-proxies13]
tests/test_utils.py::test_select_proxies[file:///etc/motd-socks5://http.proxy-proxies14]
tests/test_utils.py::test_parse_dict_header[foo="is a fish", bar="as well"-expected0]
tests/test_utils.py::test_parse_dict_header[key_without_value-expected1]
tests/test_utils.py::test__parse_content_type_header[application/xml-expected0]
tests/test_utils.py::test__parse_content_type_header[application/json ; charset=utf-8-expected1]
tests/test_utils.py::test__parse_content_type_header[application/json ; Charset=utf-8-expected2]
tests/test_utils.py::test__parse_content_type_header[text/plain-expected3]
tests/test_utils.py::test__parse_content_type_header[multipart/form-data; boundary = something ; boundary2='something_else' ; no_equals -expected4]
tests/test_utils.py::test__parse_content_type_header[multipart/form-data; boundary = something ; boundary2="something_else" ; no_equals -expected5]
tests/test_utils.py::test__parse_content_type_header[multipart/form-data; boundary = something ; 'boundary2=something_else' ; no_equals -expected6]
tests/test_utils.py::test__parse_content_type_header[multipart/form-data; boundary = something ; "boundary2=something_else" ; no_equals -expected7]
tests/test_utils.py::test__parse_content_type_header[application/json ; ; -expected8]
tests/test_utils.py::test_get_encoding_from_headers[value0-None]
tests/test_utils.py::test_get_encoding_from_headers[value1-utf-8]
tests/test_utils.py::test_get_encoding_from_headers[value2-ISO-8859-1]
tests/test_utils.py::test_iter_slices[-0]
tests/test_utils.py::test_iter_slices[T-1]
tests/test_utils.py::test_iter_slices[Test-4]
tests/test_utils.py::test_iter_slices[Cont-0]
tests/test_utils.py::test_iter_slices[Other--5]
tests/test_utils.py::test_iter_slices[Content-None]
tests/test_utils.py::test_parse_header_links[<http:/.../front.jpeg>; rel=front; type="image/jpeg"-expected0]
tests/test_utils.py::test_parse_header_links[<http:/.../front.jpeg>-expected1]
tests/test_utils.py::test_parse_header_links[<http:/.../front.jpeg>;-expected2]
tests/test_utils.py::test_parse_header_links[<http:/.../front.jpeg>; type="image/jpeg",<http://.../back.jpeg>;-expected3]
tests/test_utils.py::test_parse_header_links[-expected4]
tests/test_utils.py::test_prepend_scheme_if_needed[example.com/path-http://example.com/path]
tests/test_utils.py::test_prepend_scheme_if_needed[//example.com/path-http://example.com/path]
tests/test_utils.py::test_prepend_scheme_if_needed[example.com:80-http://example.com:80]
tests/test_utils.py::test_prepend_scheme_if_needed[http://user:pass@example.com/path?query-http://user:pass@example.com/path?query]
tests/test_utils.py::test_prepend_scheme_if_needed[http://user@example.com/path?query-http://user@example.com/path?query]
tests/test_utils.py::test_to_native_string[T-T0]
tests/test_utils.py::test_to_native_string[T-T1]
tests/test_utils.py::test_to_native_string[T-T2]
tests/test_utils.py::test_urldefragauth[http://u:p@example.com/path?a=1#test-http://example.com/path?a=1]
tests/test_utils.py::test_urldefragauth[http://example.com/path-http://example.com/path]
tests/test_utils.py::test_urldefragauth[//u:p@example.com/path-//example.com/path]
tests/test_utils.py::test_urldefragauth[//example.com/path-//example.com/path]
tests/test_utils.py::test_urldefragauth[example.com/path-//example.com/path]
tests/test_utils.py::test_urldefragauth[scheme:u:p@example.com/path-scheme://example.com/path]
tests/test_utils.py::test_should_bypass_proxies[http://192.168.0.1:5000/-True]
tests/test_utils.py::test_should_bypass_proxies[http://192.168.0.1/-True]
tests/test_utils.py::test_should_bypass_proxies[http://172.16.1.1/-True]
tests/test_utils.py::test_should_bypass_proxies[http://172.16.1.1:5000/-True]
tests/test_utils.py::test_should_bypass_proxies[http://localhost.localdomain:5000/v1.0/-True]
tests/test_utils.py::test_should_bypass_proxies[http://google.com:6000/-True]
tests/test_utils.py::test_should_bypass_proxies[http://172.16.1.12/-False]
tests/test_utils.py::test_should_bypass_proxies[http://172.16.1.12:5000/-False]
tests/test_utils.py::test_should_bypass_proxies[http://google.com:5000/v1.0/-False]
tests/test_utils.py::test_should_bypass_proxies[file:///some/path/on/disk-True]
tests/test_utils.py::test_should_bypass_proxies_pass_only_hostname[http://172.16.1.1/-172.16.1.1]
tests/test_utils.py::test_should_bypass_proxies_pass_only_hostname[http://172.16.1.1:5000/-172.16.1.1]
tests/test_utils.py::test_should_bypass_proxies_pass_only_hostname[http://user:pass@172.16.1.1-172.16.1.1]
tests/test_utils.py::test_should_bypass_proxies_pass_only_hostname[http://user:pass@172.16.1.1:5000-172.16.1.1]
tests/test_utils.py::test_should_bypass_proxies_pass_only_hostname[http://hostname/-hostname]
tests/test_utils.py::test_should_bypass_proxies_pass_only_hostname[http://hostname:5000/-hostname]
tests/test_utils.py::test_should_bypass_proxies_pass_only_hostname[http://user:pass@hostname-hostname]
tests/test_utils.py::test_should_bypass_proxies_pass_only_hostname[http://user:pass@hostname:5000-hostname]
tests/test_utils.py::test_add_dict_to_cookiejar[cookiejar0]
tests/test_utils.py::test_add_dict_to_cookiejar[cookiejar1]
tests/test_utils.py::test_unicode_is_ascii[test-True]
tests/test_utils.py::test_unicode_is_ascii[\xe6\xed\xf6\xfb-False]
tests/test_utils.py::test_unicode_is_ascii[\u30b8\u30a7\u30fc\u30d4\u30fc\u30cb\u30c3\u30af-False]
tests/test_utils.py::test_should_bypass_proxies_no_proxy[http://192.168.0.1:5000/-True]
tests/test_utils.py::test_should_bypass_proxies_no_proxy[http://192.168.0.1/-True]
tests/test_utils.py::test_should_bypass_proxies_no_proxy[http://172.16.1.1/-True]
tests/test_utils.py::test_should_bypass_proxies_no_proxy[http://172.16.1.1:5000/-True]
tests/test_utils.py::test_should_bypass_proxies_no_proxy[http://localhost.localdomain:5000/v1.0/-True]
tests/test_utils.py::test_should_bypass_proxies_no_proxy[http://172.16.1.12/-False]
tests/test_utils.py::test_should_bypass_proxies_no_proxy[http://172.16.1.12:5000/-False]
tests/test_utils.py::test_should_bypass_proxies_no_proxy[http://google.com:5000/v1.0/-False]
tests/test_utils.py::test_should_bypass_proxies_win_registry[http://192.168.0.1:5000/-True-None]
tests/test_utils.py::test_should_bypass_proxies_win_registry[http://192.168.0.1/-True-None]
tests/test_utils.py::test_should_bypass_proxies_win_registry[http://172.16.1.1/-True-None]
tests/test_utils.py::test_should_bypass_proxies_win_registry[http://172.16.1.1:5000/-True-None]
tests/test_utils.py::test_should_bypass_proxies_win_registry[http://localhost.localdomain:5000/v1.0/-True-None]
tests/test_utils.py::test_should_bypass_proxies_win_registry[http://172.16.1.22/-False-None]
tests/test_utils.py::test_should_bypass_proxies_win_registry[http://172.16.1.22:5000/-False-None]
tests/test_utils.py::test_should_bypass_proxies_win_registry[http://google.com:5000/v1.0/-False-None]
tests/test_utils.py::test_should_bypass_proxies_win_registry[http://mylocalhostname:5000/v1.0/-True-<local>]
tests/test_utils.py::test_should_bypass_proxies_win_registry[http://192.168.0.1/-False-]
tests/test_utils.py::test_set_environ[no_proxy-192.168.0.0/24,127.0.0.1,localhost.localdomain]
tests/test_utils.py::test_set_environ[no_proxy-None]
tests/test_utils.py::test_set_environ[a_new_key-192.168.0.0/24,127.0.0.1,localhost.localdomain]
tests/test_utils.py::test_set_environ[a_new_key-None]
tests/test_utils.py::test_set_environ_raises_exception
