1 ============================= test session starts ==============================
2 platform sunos5 -- Python $(PYTHON_VERSION).X -- $(PYTHON)
3 cachedir: .pytest_cache
6 collecting ... collected 99 items
8 tests/test_compat.py::test_singledispatchmethod PASSED
9 tests/test_compat.py::test_singledispatchmethod_error PASSED
10 tests/test_socks4.py::test_SOCKS4A_connection_request[\x01] PASSED
11 tests/test_socks4.py::test_SOCKS4A_connection_request[\x02] PASSED
12 tests/test_socks4.py::test_socks4_connection_request[\x01] PASSED
13 tests/test_socks4.py::test_socks4_connection_request[\x02] PASSED
14 tests/test_socks4.py::test_socks4_receive_data[Z] PASSED
15 tests/test_socks4.py::test_socks4_receive_data[[] PASSED
16 tests/test_socks4.py::test_socks4_receive_data[\] PASSED
17 tests/test_socks4.py::test_socks4_receive_data[]] PASSED
18 tests/test_socks4.py::test_socks4_receive_malformed_data[\x00Z\x1f\x90\x7f\x00\x00] PASSED
19 tests/test_socks4.py::test_socks4_receive_malformed_data[\x00\xff\x1f\x90\x7f\x00\x00\x01] PASSED
20 tests/test_socks4.py::test_socks4_receive_malformed_data[\x0fZ\x1f\x90\x7f\x00\x00\x01] PASSED
21 tests/test_socks4.py::test_socks4arequest_from_address[127.0.0.1:8080-\x7f\x00\x00\x01-80800] PASSED
22 tests/test_socks4.py::test_socks4arequest_from_address[127.0.0.1:8080-\x7f\x00\x00\x01-80801] PASSED
23 tests/test_socks4.py::test_socks4arequest_from_address[address0-\x7f\x00\x00\x01-3080] PASSED
24 tests/test_socks4.py::test_socks4arequest_from_address[address1-\x7f\x00\x00\x01-3080] PASSED
25 tests/test_socks4.py::test_socks4arequest_from_address[address3-\x7f\x00\x00\x01-3080] PASSED
26 tests/test_socks4.py::test_socks4arequest_from_address[address4-\x7f\x00\x00\x01-3080] PASSED
27 tests/test_socks4.py::test_socks4arequest_from_address_dump_raises_if_no_user_id PASSED
28 tests/test_socks4.py::test_socks4request_from_address[127.0.0.1:8080-\x7f\x00\x00\x01-80800] PASSED
29 tests/test_socks4.py::test_socks4request_from_address[127.0.0.1:8080-\x7f\x00\x00\x01-80801] PASSED
30 tests/test_socks4.py::test_socks4request_from_address[address0-\x7f\x00\x00\x01-3080] PASSED
31 tests/test_socks4.py::test_socks4request_from_address[address1-\x7f\x00\x00\x01-3080] PASSED
32 tests/test_socks4.py::test_socks4request_from_address[address3-\x7f\x00\x00\x01-3080] PASSED
33 tests/test_socks4.py::test_socks4request_from_address[address4-\x7f\x00\x00\x01-3080] PASSED
34 tests/test_socks4.py::test_socks4request_from_address_dump_raises_if_no_user_id PASSED
35 tests/test_socks4.py::test_socks4request_from_address_errors[address0-socksio] PASSED
36 tests/test_socks4.py::test_socks4request_from_address_errors[localhost:3080-socksio] PASSED
37 tests/test_socks5.py::test_socks5_auth_reply_accepted[\x00] PASSED
38 tests/test_socks5.py::test_socks5_auth_reply_accepted[\x01] PASSED
39 tests/test_socks5.py::test_socks5_auth_reply_accepted[\x02] PASSED
40 tests/test_socks5.py::test_socks5_auth_reply_malformed[\x05\x10] PASSED
41 tests/test_socks5.py::test_socks5_auth_reply_malformed[\x05] PASSED
42 tests/test_socks5.py::test_socks5_auth_reply_no_acceptable_auth_method PASSED
43 tests/test_socks5.py::test_socks5_auth_request PASSED
44 tests/test_socks5.py::test_socks5_auth_username_password_fail PASSED
45 tests/test_socks5.py::test_socks5_auth_username_password_requires_connect_waiting PASSED
46 tests/test_socks5.py::test_socks5_auth_username_password_success PASSED
47 tests/test_socks5.py::test_socks5_no_auth_required_reply_sets_client_authenticated_state PASSED
48 tests/test_socks5.py::test_socks5_receive_malformed_data[\x00\x00\x00\x01\x7f\x00\x00\x01\x048] PASSED
49 tests/test_socks5.py::test_socks5_receive_malformed_data[\x05\x00\x00\x01\x7f\x00\x00\x01\x04] PASSED
50 tests/test_socks5.py::test_socks5_receive_malformed_data[\x05\x00\x00\x01\x7f\x00\x00\x048] PASSED
51 tests/test_socks5.py::test_socks5_reply_error[\x01-\x7f\x00\x00\x01-\x01-127.0.0.1-\x01] PASSED
52 tests/test_socks5.py::test_socks5_reply_error[\x01-\x7f\x00\x00\x01-\x01-127.0.0.1-\x02] PASSED
53 tests/test_socks5.py::test_socks5_reply_error[\x01-\x7f\x00\x00\x01-\x01-127.0.0.1-\x03] PASSED
54 tests/test_socks5.py::test_socks5_reply_error[\x01-\x7f\x00\x00\x01-\x01-127.0.0.1-\x04] PASSED
55 tests/test_socks5.py::test_socks5_reply_error[\x01-\x7f\x00\x00\x01-\x01-127.0.0.1-\x05] PASSED
56 tests/test_socks5.py::test_socks5_reply_error[\x01-\x7f\x00\x00\x01-\x01-127.0.0.1-\x06] PASSED
57 tests/test_socks5.py::test_socks5_reply_error[\x01-\x7f\x00\x00\x01-\x01-127.0.0.1-\x07] PASSED
58 tests/test_socks5.py::test_socks5_reply_error[\x01-\x7f\x00\x00\x01-\x01-127.0.0.1-\x08] PASSED
59 tests/test_socks5.py::test_socks5_reply_error[\x03-localhost-\x03-localhost-\x01] PASSED
60 tests/test_socks5.py::test_socks5_reply_error[\x03-localhost-\x03-localhost-\x02] PASSED
61 tests/test_socks5.py::test_socks5_reply_error[\x03-localhost-\x03-localhost-\x03] PASSED
62 tests/test_socks5.py::test_socks5_reply_error[\x03-localhost-\x03-localhost-\x04] PASSED
63 tests/test_socks5.py::test_socks5_reply_error[\x03-localhost-\x03-localhost-\x05] PASSED
64 tests/test_socks5.py::test_socks5_reply_error[\x03-localhost-\x03-localhost-\x06] PASSED
65 tests/test_socks5.py::test_socks5_reply_error[\x03-localhost-\x03-localhost-\x07] PASSED
66 tests/test_socks5.py::test_socks5_reply_error[\x03-localhost-\x03-localhost-\x08] PASSED
67 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
68 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
69 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
70 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
71 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
72 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
73 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
74 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
75 tests/test_socks5.py::test_socks5_reply_success[\x01-\x7f\x00\x00\x01-\x01-127.0.0.1] PASSED
76 tests/test_socks5.py::test_socks5_reply_success[\x03-localhost-\x03-localhost] PASSED
77 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
78 tests/test_socks5.py::test_socks5_request_domain_name[\x01] PASSED
79 tests/test_socks5.py::test_socks5_request_domain_name[\x02] PASSED
80 tests/test_socks5.py::test_socks5_request_ipv4[\x01] PASSED
81 tests/test_socks5.py::test_socks5_request_ipv4[\x02] PASSED
82 tests/test_socks5.py::test_socks5_request_ipv6[\x01] PASSED
83 tests/test_socks5.py::test_socks5_request_ipv6[\x02] PASSED
84 tests/test_socks5.py::test_socks5_request_require_authentication PASSED
85 tests/test_socks5.py::test_socks5atype_from_address_type[AddressType.DN-\x03] PASSED
86 tests/test_socks5.py::test_socks5atype_from_address_type[AddressType.IPV4-\x01] PASSED
87 tests/test_socks5.py::test_socks5atype_from_address_type[AddressType.IPV6-\x04] PASSED
88 tests/test_socks5.py::test_socks5atype_unknown_address_type_raises PASSED
89 tests/test_socks5.py::test_socks5commandrequest_from_address[127.0.0.1:8080-\x01-\x7f\x00\x00\x01-80800] PASSED
90 tests/test_socks5.py::test_socks5commandrequest_from_address[127.0.0.1:8080-\x01-\x7f\x00\x00\x01-80801] PASSED
91 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
92 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
93 tests/test_socks5.py::test_socks5commandrequest_from_address[address0-\x01-\x7f\x00\x00\x01-3080] PASSED
94 tests/test_socks5.py::test_socks5commandrequest_from_address[address1-\x01-\x7f\x00\x00\x01-3080] PASSED
95 tests/test_socks5.py::test_socks5commandrequest_from_address[address4-\x01-\x7f\x00\x00\x01-3080] PASSED
96 tests/test_socks5.py::test_socks5commandrequest_from_address[address5-\x01-\x7f\x00\x00\x01-3080] PASSED
97 tests/test_utils.py::test_address_type_from_socks5atype[\x01-AddressType.IPV4] PASSED
98 tests/test_utils.py::test_address_type_from_socks5atype[\x03-AddressType.DN] PASSED
99 tests/test_utils.py::test_address_type_from_socks5atype[\x04-AddressType.IPV6] PASSED
100 tests/test_utils.py::test_socks5atype_unknown_address_type_raises PASSED
101 tests/test_utils.py::test_split_address_port_from_string[127.0.0.1:8080-127.0.0.1-8080] PASSED
102 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
103 tests/test_utils.py::test_split_address_port_from_string_errors[127.0.0.1:] PASSED
104 tests/test_utils.py::test_split_address_port_from_string_errors[127.0.0.1] PASSED
105 tests/test_utils.py::test_split_address_port_from_string_errors[::1] PASSED
106 tests/test_utils.py::test_split_address_port_from_string_errors[[::1]:foobar] PASSED
109 ======== 99 passed ========