1 py$(PYV): remove tox env folder $(@D)/.tox/py$(PYV)
2 py$(PYV): commands[0]> python -m pytest -W error::DeprecationWarning -v
3 ============================= test session starts ==============================
4 platform sunos5 -- Python $(PYTHON_VERSION).X -- $(@D)/.tox/py$(PYV)/bin/python
5 cachedir: .tox/py$(PYV)/.pytest_cache
8 collecting ... collected 169 items
10 tests/test_auth.py::TestGuessAuth::test_basic PASSED
11 tests/test_auth.py::TestGuessAuth::test_digest PASSED
12 tests/test_auth.py::TestGuessAuth::test_no_auth PASSED
13 tests/test_auth.py::TestGuessProxyAuth::test_handle_407_header_basic PASSED
14 tests/test_auth.py::TestGuessProxyAuth::test_handle_407_header_digest PASSED
15 tests/test_auth_handler.py::test_turns_tuples_into_basic_auth PASSED
16 tests/test_auth_handler.py::test_uses_null_strategy_for_non_matching_domains PASSED
17 tests/test_auth_handler.py::test_normalizes_domain_keys PASSED
18 tests/test_auth_handler.py::test_can_add_new_strategies PASSED
19 tests/test_auth_handler.py::test_prepares_auth_correctly PASSED
20 tests/test_downloadutils.py::test_get_download_file_path_uses_content_disposition PASSED
21 tests/test_downloadutils.py::test_get_download_file_path_directory PASSED
22 tests/test_downloadutils.py::test_get_download_file_path_specific_file PASSED
23 tests/test_downloadutils.py::test_stream_response_to_file_uses_content_disposition PASSED
24 tests/test_downloadutils.py::test_stream_response_to_specific_filename PASSED
25 tests/test_downloadutils.py::test_stream_response_to_directory PASSED
26 tests/test_downloadutils.py::test_stream_response_to_existing_file PASSED
27 tests/test_downloadutils.py::test_stream_response_to_file_like_object PASSED
28 tests/test_downloadutils.py::test_stream_response_to_file_chunksize PASSED
29 tests/test_downloadutils.py::test_tee PASSED
30 tests/test_downloadutils.py::test_tee_rejects_StringIO PASSED
31 tests/test_downloadutils.py::test_tee_to_file PASSED
32 tests/test_downloadutils.py::test_tee_to_bytearray PASSED
33 tests/test_downloadutils.py::test_tee_to_bytearray_only_accepts_bytearrays PASSED
34 tests/test_dump.py::TestSimplePrivateFunctions::test_coerce_to_bytes_skips_byte_strings PASSED
35 tests/test_dump.py::TestSimplePrivateFunctions::test_coerce_to_bytes_converts_text PASSED
36 tests/test_dump.py::TestSimplePrivateFunctions::test_format_header PASSED
37 tests/test_dump.py::TestSimplePrivateFunctions::test_format_header_handles_unicode PASSED
38 tests/test_dump.py::TestSimplePrivateFunctions::test_build_request_path PASSED
39 tests/test_dump.py::TestSimplePrivateFunctions::test_build_request_path_with_query_string PASSED
40 tests/test_dump.py::TestSimplePrivateFunctions::test_build_request_path_with_proxy_info PASSED
41 tests/test_dump.py::TestResponsePrivateFunctions::test_get_proxy_information_sans_proxy PASSED
42 tests/test_dump.py::TestResponsePrivateFunctions::test_get_proxy_information_with_proxy_over_http PASSED
43 tests/test_dump.py::TestResponsePrivateFunctions::test_get_proxy_information_with_proxy_over_https PASSED
44 tests/test_dump.py::TestResponsePrivateFunctions::test_dump_request_data PASSED
45 tests/test_dump.py::TestResponsePrivateFunctions::test_dump_non_string_request_data PASSED
46 tests/test_dump.py::TestResponsePrivateFunctions::test_dump_request_data_with_proxy_info PASSED
47 tests/test_dump.py::TestResponsePrivateFunctions::test_dump_response_data PASSED
48 tests/test_dump.py::TestResponsePrivateFunctions::test_dump_response_data_with_older_http_version PASSED
49 tests/test_dump.py::TestResponsePrivateFunctions::test_dump_response_data_with_unknown_http_version PASSED
50 tests/test_dump.py::TestResponsePublicFunctions::test_dump_response_fails_without_request PASSED
51 tests/test_dump.py::TestResponsePublicFunctions::test_dump_response_uses_provided_bytearray PASSED
52 tests/test_dump.py::TestDumpRealResponses::test_dump_response PASSED
53 tests/test_dump.py::TestDumpRealResponses::test_dump_all PASSED
54 tests/test_fingerprintadapter.py::TestFingerprintAdapter::test_fingerprint PASSED
55 tests/test_forgetfulcookiejar.py::TestForgetfulCookieJar::test_cookies_are_ignored PASSED
56 tests/test_formdata.py::test_urlencode_flattens_nested_structures[query0] PASSED
57 tests/test_formdata.py::test_urlencode_flattens_nested_structures[query1] PASSED
58 tests/test_formdata.py::test_urlencode_flattens_nested_structures[query2] PASSED
59 tests/test_formdata.py::test_urlencode_catches_invalid_input PASSED
60 tests/test_host_header_ssl_adapter.py::TestHostHeaderSSLAdapter::test_ssladapter SKIPPED
61 tests/test_host_header_ssl_adapter.py::TestHostHeaderSSLAdapter::test_stream SKIPPED
62 tests/test_host_header_ssl_adapter.py::TestHostHeaderSSLAdapter::test_case_insensitive_header SKIPPED
63 tests/test_host_header_ssl_adapter.py::TestHostHeaderSSLAdapter::test_plain_requests SKIPPED
64 tests/test_multipart_decoder.py::TestBodyPart::test_changing_encoding_changes_text PASSED
65 tests/test_multipart_decoder.py::TestBodyPart::test_equality_content_does_not_equal_bytes PASSED
66 tests/test_multipart_decoder.py::TestBodyPart::test_equality_content_equals_bytes PASSED
67 tests/test_multipart_decoder.py::TestBodyPart::test_equality_content_should_be_equal PASSED
68 tests/test_multipart_decoder.py::TestBodyPart::test_equality_content_should_not_be_equal PASSED
69 tests/test_multipart_decoder.py::TestBodyPart::test_no_crlf_crlf_in_content PASSED
70 tests/test_multipart_decoder.py::TestBodyPart::test_no_headers PASSED
71 tests/test_multipart_decoder.py::TestBodyPart::test_text_should_be_equal PASSED
72 tests/test_multipart_decoder.py::TestMultipartDecoder::test_content_of_parts PASSED
73 tests/test_multipart_decoder.py::TestMultipartDecoder::test_from_response PASSED
74 tests/test_multipart_decoder.py::TestMultipartDecoder::test_from_responsecaplarge PASSED
75 tests/test_multipart_decoder.py::TestMultipartDecoder::test_header_of_parts PASSED
76 tests/test_multipart_decoder.py::TestMultipartDecoder::test_length_of_parts PASSED
77 tests/test_multipart_decoder.py::TestMultipartDecoder::test_non_multipart_response_fails PASSED
78 tests/test_multipart_encoder.py::TestCustomBytesIO::test_accepts_encoded_strings_with_unicode PASSED
79 tests/test_multipart_encoder.py::TestCustomBytesIO::test_can_get_length PASSED
80 tests/test_multipart_encoder.py::TestCustomBytesIO::test_can_read_after_writing_to PASSED
81 tests/test_multipart_encoder.py::TestCustomBytesIO::test_can_read_some_after_writing_to PASSED
82 tests/test_multipart_encoder.py::TestCustomBytesIO::test_readable PASSED
83 tests/test_multipart_encoder.py::TestCustomBytesIO::test_truncates_intelligently PASSED
84 tests/test_multipart_encoder.py::TestCustomBytesIO::test_writable PASSED
85 tests/test_multipart_encoder.py::TestFileFromURLWrapper::test_no_content_length_header PASSED
86 tests/test_multipart_encoder.py::TestFileFromURLWrapper::test_read_file PASSED
87 tests/test_multipart_encoder.py::TestMultipartEncoder::test_accepts_custom_content_type PASSED
88 tests/test_multipart_encoder.py::TestMultipartEncoder::test_accepts_custom_headers PASSED
89 tests/test_multipart_encoder.py::TestMultipartEncoder::test_content_type PASSED
90 tests/test_multipart_encoder.py::TestMultipartEncoder::test_encodes_data_the_same PASSED
91 tests/test_multipart_encoder.py::TestMultipartEncoder::test_encodes_with_readable_data PASSED
92 tests/test_multipart_encoder.py::TestMultipartEncoder::test_handles_empty_unicode_values PASSED
93 tests/test_multipart_encoder.py::TestMultipartEncoder::test_handles_encoded_unicode_strings PASSED
94 tests/test_multipart_encoder.py::TestMultipartEncoder::test_handles_uncode_strings PASSED
95 tests/test_multipart_encoder.py::TestMultipartEncoder::test_length_is_correct PASSED
96 tests/test_multipart_encoder.py::TestMultipartEncoder::test_no_parts PASSED
97 tests/test_multipart_encoder.py::TestMultipartEncoder::test_reads_file_from_url_wrapper PASSED
98 tests/test_multipart_encoder.py::TestMultipartEncoder::test_reads_open_file_objects PASSED
99 tests/test_multipart_encoder.py::TestMultipartEncoder::test_reads_open_file_objects_using_to_string PASSED
100 tests/test_multipart_encoder.py::TestMultipartEncoder::test_reads_open_file_objects_with_a_specified_filename PASSED
101 tests/test_multipart_encoder.py::TestMultipartEncoder::test_regresion_1 PASSED
102 tests/test_multipart_encoder.py::TestMultipartEncoder::test_regression_2 PASSED
103 tests/test_multipart_encoder.py::TestMultipartEncoder::test_streams_its_data PASSED
104 tests/test_multipart_encoder.py::TestMultipartEncoder::test_to_string PASSED
105 tests/test_multipart_monitor.py::TestMultipartEncoderMonitor::test_bytes_read PASSED
106 tests/test_multipart_monitor.py::TestMultipartEncoderMonitor::test_callback PASSED
107 tests/test_multipart_monitor.py::TestMultipartEncoderMonitor::test_callback_called_when_reading_everything PASSED
108 tests/test_multipart_monitor.py::TestMultipartEncoderMonitor::test_content_type PASSED
109 tests/test_multipart_monitor.py::TestMultipartEncoderMonitor::test_default_callable_is_the_identity PASSED
110 tests/test_multipart_monitor.py::TestMultipartEncoderMonitor::test_from_fields PASSED
111 tests/test_multipart_monitor.py::TestMultipartEncoderMonitor::test_length PASSED
112 tests/test_multipart_monitor.py::TestMultipartEncoderMonitor::test_read PASSED
113 tests/test_proxy_digest_auth.py::TestProxyDigestAuth::test_digest_challenge PASSED
114 tests/test_proxy_digest_auth.py::TestProxyDigestAuth::test_no_challenge PASSED
115 tests/test_proxy_digest_auth.py::TestProxyDigestAuth::test_ntlm_challenge PASSED
116 tests/test_proxy_digest_auth.py::TestProxyDigestAuth::test_with_existing_nonce PASSED
117 tests/test_sessions.py::TestBasedSession::test_prepared_request_override_base PASSED
118 tests/test_sessions.py::TestBasedSession::test_prepared_request_with_base PASSED
119 tests/test_sessions.py::TestBasedSession::test_prepared_request_without_base PASSED
120 tests/test_sessions.py::TestBasedSession::test_request_override_base PASSED
121 tests/test_sessions.py::TestBasedSession::test_request_with_base PASSED
122 tests/test_sessions.py::TestBasedSession::test_request_without_base PASSED
123 tests/test_socket_options_adapter.py::test_options_passing_on_newer_requests PASSED
124 tests/test_socket_options_adapter.py::test_options_not_passed_on_older_requests PASSED
125 tests/test_socket_options_adapter.py::test_keep_alive_on_newer_requests_no_idle PASSED
126 tests/test_socket_options_adapter.py::test_keep_alive_on_newer_requests_with_idle PASSED
127 tests/test_source_adapter.py::test_source_address_adapter_string PASSED
128 tests/test_source_adapter.py::test_source_address_adapter_tuple PASSED
129 tests/test_source_adapter.py::test_source_address_adapter_type_error PASSED
130 tests/test_ssladapter.py::TestSSLAdapter::test_klevas PASSED
131 tests/test_ssladapter.py::TestSSLAdapter::test_proxies PASSED
132 tests/test_streaming_iterator.py::TestStreamingIterator::test_read_returns_all_chunks_in_one[True] PASSED
133 tests/test_streaming_iterator.py::TestStreamingIterator::test_read_returns_all_chunks_in_one[False] PASSED
134 tests/test_streaming_iterator.py::TestStreamingIterator::test_read_returns_empty_string_after_exhausting_the_iterator[True] PASSED
135 tests/test_streaming_iterator.py::TestStreamingIterator::test_read_returns_empty_string_after_exhausting_the_iterator[False] PASSED
136 tests/test_streaming_iterator.py::TestStreamingIteratorWithLargeChunks::test_returns_the_amount_requested[True] PASSED
137 tests/test_streaming_iterator.py::TestStreamingIteratorWithLargeChunks::test_returns_the_amount_requested[False] PASSED
138 tests/test_streaming_iterator.py::TestStreamingIteratorWithLargeChunks::test_returns_all_of_the_bytes[True] PASSED
139 tests/test_streaming_iterator.py::TestStreamingIteratorWithLargeChunks::test_returns_all_of_the_bytes[False] PASSED
140 tests/test_user_agent.py::TestUserAgentBuilder::test_include_implementation PASSED
141 tests/test_user_agent.py::TestUserAgentBuilder::test_include_system PASSED
142 tests/test_user_agent.py::TestUserAgentBuilder::test_includes_extras PASSED
143 tests/test_user_agent.py::TestUserAgentBuilder::test_only_user_agent_name PASSED
144 tests/test_user_agent.py::TestUserAgent::test_user_agent_builds_extras_appropriately PASSED
145 tests/test_user_agent.py::TestUserAgent::test_user_agent_checks_extras_for_tuples_of_incorrect_length PASSED
146 tests/test_user_agent.py::TestUserAgent::test_user_agent_provides_package_name PASSED
147 tests/test_user_agent.py::TestUserAgent::test_user_agent_provides_package_version PASSED
148 tests/test_user_agent.py::TestImplementationString::test_cpython_implementation PASSED
149 tests/test_user_agent.py::TestImplementationString::test_pypy_implementation_final PASSED
150 tests/test_user_agent.py::TestImplementationString::test_pypy_implementation_non_final PASSED
151 tests/test_user_agent.py::TestImplementationString::test_unknown_implementation PASSED
152 tests/test_x509_adapter.py::TestX509Adapter::test_requires_new_enough_requests SKIPPED
153 tests/test_x509_adapter.py::TestX509Adapter::test_x509_der_and_password PASSED
154 tests/test_x509_adapter.py::TestX509Adapter::test_x509_pem PASSED
155 tests/threaded/test_api.py::test_creates_a_pool_for_the_user PASSED
156 tests/threaded/test_api.py::test_raises_a_value_error_for_non_dictionaries PASSED
157 tests/threaded/test_api.py::test_raises_a_value_error_for_falsey_requests PASSED
158 tests/threaded/test_api.py::test_passes_on_kwargs PASSED
159 tests/threaded/test_pool.py::TestPool::test_auth_generator_is_called PASSED
160 tests/threaded/test_pool.py::TestPool::test_from_exceptions_populates_a_queue PASSED
161 tests/threaded/test_pool.py::TestPool::test_from_urls_constructs_get_requests PASSED
162 tests/threaded/test_pool.py::TestPool::test_from_urls_constructs_get_requests_with_kwargs PASSED
163 tests/threaded/test_pool.py::TestPool::test_get_exception_returns_none_when_queue_is_empty PASSED
164 tests/threaded/test_pool.py::TestPool::test_get_exception_returns_thread_exception PASSED
165 tests/threaded/test_pool.py::TestPool::test_get_response_returns_none_when_queue_is_empty PASSED
166 tests/threaded/test_pool.py::TestPool::test_get_response_returns_thread_response PASSED
167 tests/threaded/test_pool.py::TestPool::test_initializer_is_called PASSED
168 tests/threaded/test_pool.py::TestPool::test_join_all PASSED
169 tests/threaded/test_pool.py::TestPool::test_lists_are_correctly_returned PASSED
170 tests/threaded/test_pool.py::TestPool::test_number_of_processes_can_be_arbitrary PASSED
171 tests/threaded/test_pool.py::TestPool::test_requires_positive_number_of_processes PASSED
172 tests/threaded/test_pool.py::TestPool::test_session_is_called PASSED
173 tests/threaded/test_thread.py::TestSessionThread::test_handle_invalid_request PASSED
174 tests/threaded/test_thread.py::TestSessionThread::test_handle_valid_request PASSED
175 tests/threaded/test_thread.py::TestSessionThread::test_is_alive_proxies_to_worker PASSED
176 tests/threaded/test_thread.py::TestSessionThread::test_join_proxies_to_worker PASSED
177 tests/threaded/test_thread.py::TestSessionThread::test_make_request PASSED
178 tests/threaded/test_thread.py::TestSessionThread::test_thread_initialization PASSED
180 =============================== warnings summary ===============================
181 tests/test_x509_adapter.py::TestX509Adapter::test_x509_der_and_password
182 tests/test_x509_adapter.py::TestX509Adapter::test_x509_pem
183 $(@D)/requests_toolbelt/adapters/x509.py:153: CryptographyDeprecationWarning: Properties that return a naïve datetime object have been deprecated. Please switch to not_valid_after_utc.
184 if cert.not_valid_after < now or cert.not_valid_before > now:
186 tests/test_x509_adapter.py::TestX509Adapter::test_x509_der_and_password
187 tests/test_x509_adapter.py::TestX509Adapter::test_x509_pem
188 $(@D)/requests_toolbelt/adapters/x509.py:153: CryptographyDeprecationWarning: Properties that return a naïve datetime object have been deprecated. Please switch to not_valid_before_utc.
189 if cert.not_valid_after < now or cert.not_valid_before > now:
191 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
192 ======== 164 passed, 5 skipped, 4 warnings ========