============================= test session starts ============================== platform sunos5 -- Python $(PYTHON_VERSION).X -- $(PYTHON) cachedir: .pytest_cache rootdir: $(@D) configfile: pytest.ini collecting ... collected 99 items tests/test_compat.py::test_singledispatchmethod PASSED tests/test_compat.py::test_singledispatchmethod_error PASSED tests/test_socks4.py::test_SOCKS4A_connection_request[\x01] PASSED tests/test_socks4.py::test_SOCKS4A_connection_request[\x02] PASSED tests/test_socks4.py::test_socks4_connection_request[\x01] PASSED tests/test_socks4.py::test_socks4_connection_request[\x02] PASSED tests/test_socks4.py::test_socks4_receive_data[Z] PASSED tests/test_socks4.py::test_socks4_receive_data[[] PASSED tests/test_socks4.py::test_socks4_receive_data[\] PASSED tests/test_socks4.py::test_socks4_receive_data[]] PASSED tests/test_socks4.py::test_socks4_receive_malformed_data[\x00Z\x1f\x90\x7f\x00\x00] PASSED tests/test_socks4.py::test_socks4_receive_malformed_data[\x00\xff\x1f\x90\x7f\x00\x00\x01] PASSED tests/test_socks4.py::test_socks4_receive_malformed_data[\x0fZ\x1f\x90\x7f\x00\x00\x01] PASSED tests/test_socks4.py::test_socks4arequest_from_address[127.0.0.1:8080-\x7f\x00\x00\x01-80800] PASSED tests/test_socks4.py::test_socks4arequest_from_address[127.0.0.1:8080-\x7f\x00\x00\x01-80801] PASSED tests/test_socks4.py::test_socks4arequest_from_address[address0-\x7f\x00\x00\x01-3080] PASSED tests/test_socks4.py::test_socks4arequest_from_address[address1-\x7f\x00\x00\x01-3080] PASSED tests/test_socks4.py::test_socks4arequest_from_address[address3-\x7f\x00\x00\x01-3080] PASSED tests/test_socks4.py::test_socks4arequest_from_address[address4-\x7f\x00\x00\x01-3080] PASSED tests/test_socks4.py::test_socks4arequest_from_address_dump_raises_if_no_user_id PASSED tests/test_socks4.py::test_socks4request_from_address[127.0.0.1:8080-\x7f\x00\x00\x01-80800] PASSED tests/test_socks4.py::test_socks4request_from_address[127.0.0.1:8080-\x7f\x00\x00\x01-80801] PASSED tests/test_socks4.py::test_socks4request_from_address[address0-\x7f\x00\x00\x01-3080] PASSED tests/test_socks4.py::test_socks4request_from_address[address1-\x7f\x00\x00\x01-3080] PASSED tests/test_socks4.py::test_socks4request_from_address[address3-\x7f\x00\x00\x01-3080] PASSED tests/test_socks4.py::test_socks4request_from_address[address4-\x7f\x00\x00\x01-3080] PASSED tests/test_socks4.py::test_socks4request_from_address_dump_raises_if_no_user_id PASSED tests/test_socks4.py::test_socks4request_from_address_errors[address0-socksio] PASSED tests/test_socks4.py::test_socks4request_from_address_errors[localhost:3080-socksio] PASSED tests/test_socks5.py::test_socks5_auth_reply_accepted[\x00] PASSED tests/test_socks5.py::test_socks5_auth_reply_accepted[\x01] PASSED tests/test_socks5.py::test_socks5_auth_reply_accepted[\x02] PASSED tests/test_socks5.py::test_socks5_auth_reply_malformed[\x05\x10] PASSED tests/test_socks5.py::test_socks5_auth_reply_malformed[\x05] PASSED tests/test_socks5.py::test_socks5_auth_reply_no_acceptable_auth_method PASSED tests/test_socks5.py::test_socks5_auth_request PASSED tests/test_socks5.py::test_socks5_auth_username_password_fail PASSED tests/test_socks5.py::test_socks5_auth_username_password_requires_connect_waiting PASSED tests/test_socks5.py::test_socks5_auth_username_password_success PASSED tests/test_socks5.py::test_socks5_no_auth_required_reply_sets_client_authenticated_state PASSED tests/test_socks5.py::test_socks5_receive_malformed_data[\x00\x00\x00\x01\x7f\x00\x00\x01\x048] PASSED tests/test_socks5.py::test_socks5_receive_malformed_data[\x05\x00\x00\x01\x7f\x00\x00\x01\x04] PASSED tests/test_socks5.py::test_socks5_receive_malformed_data[\x05\x00\x00\x01\x7f\x00\x00\x048] PASSED tests/test_socks5.py::test_socks5_reply_error[\x01-\x7f\x00\x00\x01-\x01-127.0.0.1-\x01] PASSED tests/test_socks5.py::test_socks5_reply_error[\x01-\x7f\x00\x00\x01-\x01-127.0.0.1-\x02] PASSED tests/test_socks5.py::test_socks5_reply_error[\x01-\x7f\x00\x00\x01-\x01-127.0.0.1-\x03] PASSED tests/test_socks5.py::test_socks5_reply_error[\x01-\x7f\x00\x00\x01-\x01-127.0.0.1-\x04] PASSED tests/test_socks5.py::test_socks5_reply_error[\x01-\x7f\x00\x00\x01-\x01-127.0.0.1-\x05] PASSED tests/test_socks5.py::test_socks5_reply_error[\x01-\x7f\x00\x00\x01-\x01-127.0.0.1-\x06] PASSED tests/test_socks5.py::test_socks5_reply_error[\x01-\x7f\x00\x00\x01-\x01-127.0.0.1-\x07] PASSED tests/test_socks5.py::test_socks5_reply_error[\x01-\x7f\x00\x00\x01-\x01-127.0.0.1-\x08] PASSED tests/test_socks5.py::test_socks5_reply_error[\x03-localhost-\x03-localhost-\x01] PASSED tests/test_socks5.py::test_socks5_reply_error[\x03-localhost-\x03-localhost-\x02] PASSED tests/test_socks5.py::test_socks5_reply_error[\x03-localhost-\x03-localhost-\x03] PASSED tests/test_socks5.py::test_socks5_reply_error[\x03-localhost-\x03-localhost-\x04] PASSED tests/test_socks5.py::test_socks5_reply_error[\x03-localhost-\x03-localhost-\x05] PASSED tests/test_socks5.py::test_socks5_reply_error[\x03-localhost-\x03-localhost-\x06] PASSED tests/test_socks5.py::test_socks5_reply_error[\x03-localhost-\x03-localhost-\x07] PASSED tests/test_socks5.py::test_socks5_reply_error[\x03-localhost-\x03-localhost-\x08] PASSED tests/test_socks5.py::test_socks5_reply_error[\x04-\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01-\x04-::1-\x01] PASSED tests/test_socks5.py::test_socks5_reply_error[\x04-\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01-\x04-::1-\x02] PASSED tests/test_socks5.py::test_socks5_reply_error[\x04-\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01-\x04-::1-\x03] PASSED tests/test_socks5.py::test_socks5_reply_error[\x04-\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01-\x04-::1-\x04] PASSED tests/test_socks5.py::test_socks5_reply_error[\x04-\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01-\x04-::1-\x05] PASSED tests/test_socks5.py::test_socks5_reply_error[\x04-\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01-\x04-::1-\x06] PASSED tests/test_socks5.py::test_socks5_reply_error[\x04-\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01-\x04-::1-\x07] PASSED tests/test_socks5.py::test_socks5_reply_error[\x04-\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01-\x04-::1-\x08] PASSED tests/test_socks5.py::test_socks5_reply_success[\x01-\x7f\x00\x00\x01-\x01-127.0.0.1] PASSED tests/test_socks5.py::test_socks5_reply_success[\x03-localhost-\x03-localhost] PASSED tests/test_socks5.py::test_socks5_reply_success[\x04-\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01-\x04-::1] PASSED tests/test_socks5.py::test_socks5_request_domain_name[\x01] PASSED tests/test_socks5.py::test_socks5_request_domain_name[\x02] PASSED tests/test_socks5.py::test_socks5_request_ipv4[\x01] PASSED tests/test_socks5.py::test_socks5_request_ipv4[\x02] PASSED tests/test_socks5.py::test_socks5_request_ipv6[\x01] PASSED tests/test_socks5.py::test_socks5_request_ipv6[\x02] PASSED tests/test_socks5.py::test_socks5_request_require_authentication PASSED tests/test_socks5.py::test_socks5atype_from_address_type[AddressType.DN-\x03] PASSED tests/test_socks5.py::test_socks5atype_from_address_type[AddressType.IPV4-\x01] PASSED tests/test_socks5.py::test_socks5atype_from_address_type[AddressType.IPV6-\x04] PASSED tests/test_socks5.py::test_socks5atype_unknown_address_type_raises PASSED tests/test_socks5.py::test_socks5commandrequest_from_address[127.0.0.1:8080-\x01-\x7f\x00\x00\x01-80800] PASSED tests/test_socks5.py::test_socks5commandrequest_from_address[127.0.0.1:8080-\x01-\x7f\x00\x00\x01-80801] PASSED tests/test_socks5.py::test_socks5commandrequest_from_address[[0:0:0:0:0:0:0:1]:3080-\x04-\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01-30800] PASSED tests/test_socks5.py::test_socks5commandrequest_from_address[[0:0:0:0:0:0:0:1]:3080-\x04-\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01-30801] PASSED tests/test_socks5.py::test_socks5commandrequest_from_address[address0-\x01-\x7f\x00\x00\x01-3080] PASSED tests/test_socks5.py::test_socks5commandrequest_from_address[address1-\x01-\x7f\x00\x00\x01-3080] PASSED tests/test_socks5.py::test_socks5commandrequest_from_address[address4-\x01-\x7f\x00\x00\x01-3080] PASSED tests/test_socks5.py::test_socks5commandrequest_from_address[address5-\x01-\x7f\x00\x00\x01-3080] PASSED tests/test_utils.py::test_address_type_from_socks5atype[\x01-AddressType.IPV4] PASSED tests/test_utils.py::test_address_type_from_socks5atype[\x03-AddressType.DN] PASSED tests/test_utils.py::test_address_type_from_socks5atype[\x04-AddressType.IPV6] PASSED tests/test_utils.py::test_socks5atype_unknown_address_type_raises PASSED tests/test_utils.py::test_split_address_port_from_string[127.0.0.1:8080-127.0.0.1-8080] PASSED tests/test_utils.py::test_split_address_port_from_string[[0:0:0:0:0:0:0:1]:3080-0:0:0:0:0:0:0:1-3080] PASSED tests/test_utils.py::test_split_address_port_from_string_errors[127.0.0.1:] PASSED tests/test_utils.py::test_split_address_port_from_string_errors[127.0.0.1] PASSED tests/test_utils.py::test_split_address_port_from_string_errors[::1] PASSED tests/test_utils.py::test_split_address_port_from_string_errors[[::1]:foobar] PASSED ======== 99 passed ========