ffmpeg-6: fix COMPONENT_REVISION
[oi-userland.git] / components / python / twine / test / results-all.master
blob49011159a1dc32f31d4f28ea6e6b623bbe614682
1 py$(PYV): remove tox env folder $(@D)/.tox/py$(PYV)
2 py$(PYV): commands[0]> python -m coverage run -m pytest
3 ============================= test session starts ==============================
4 platform sunos5 -- Python $(PYTHON_VERSION).X -- $(@D)/.tox/py$(PYV)/bin/python
5 cachedir: .tox/py$(PYV)/.pytest_cache
6 rootdir: $(@D)
7 configfile: pytest.ini
8 collecting ... collected 201 items
10 tests/test_auth.py::test_get_username_keyring_defers_to_prompt PASSED
11 tests/test_auth.py::test_get_password_keyring_defers_to_prompt PASSED
12 tests/test_auth.py::test_no_password_defers_to_prompt PASSED
13 tests/test_auth.py::test_empty_password_bypasses_prompt PASSED
14 tests/test_auth.py::test_no_username_non_interactive_aborts PASSED
15 tests/test_auth.py::test_no_password_non_interactive_aborts PASSED
16 tests/test_auth.py::test_get_username_and_password_keyring_overrides_prompt PASSED
17 tests/test_auth.py::test_get_username_keyring_missing_get_credentials_prompts PASSED
18 tests/test_auth.py::test_get_username_keyring_missing_non_interactive_aborts PASSED
19 tests/test_auth.py::test_get_password_keyring_missing_non_interactive_aborts PASSED
20 tests/test_auth.py::test_get_username_keyring_runtime_error_logged PASSED
21 tests/test_auth.py::test_get_password_keyring_runtime_error_logged PASSED
22 tests/test_auth.py::test_get_username_keyring_key_error_logged PASSED
23 tests/test_auth.py::test_get_password_keyring_key_error_logged PASSED
24 tests/test_auth.py::test_logs_cli_values PASSED
25 tests/test_auth.py::test_logs_config_values PASSED
26 tests/test_auth.py::test_warns_for_empty_password[-Your password is empty] PASSED
27 tests/test_auth.py::test_warns_for_empty_password[\x16-Your password contains control characters] PASSED
28 tests/test_auth.py::test_warns_for_empty_password[entered\x16pw-Your password contains control characters] PASSED
29 tests/test_check.py::TestWarningStream::test_write_match PASSED
30 tests/test_check.py::TestWarningStream::test_write_nomatch PASSED
31 tests/test_check.py::TestWarningStream::test_str_representation PASSED
32 tests/test_check.py::test_fails_no_distributions PASSED
33 tests/test_check.py::test_warns_missing_description[False] PASSED
34 tests/test_check.py::test_warns_missing_description[True] PASSED
35 tests/test_check.py::test_warns_missing_file PASSED
36 tests/test_check.py::test_fails_rst_syntax_error PASSED
37 tests/test_check.py::test_fails_rst_no_content PASSED
38 tests/test_check.py::test_passes_rst_description PASSED
39 tests/test_check.py::test_passes_markdown_description[text/markdown] PASSED
40 tests/test_check.py::test_passes_markdown_description[text/plain] PASSED
41 tests/test_check.py::test_main PASSED
42 tests/test_cli.py::test_dispatch_to_subcommand PASSED
43 tests/test_cli.py::test_catches_enoent PASSED
44 tests/test_commands.py::test_ensure_wheel_files_uploaded_first PASSED
45 tests/test_commands.py::test_ensure_if_no_wheel_files PASSED
46 tests/test_commands.py::test_find_dists_expands_globs PASSED
47 tests/test_commands.py::test_find_dists_errors_on_invalid_globs PASSED
48 tests/test_commands.py::test_find_dists_handles_real_files PASSED
49 tests/test_main.py::test_exception_handling PASSED
50 tests/test_main.py::test_http_exception_handling PASSED
51 tests/test_main.py::test_no_color_exception PASSED
52 tests/test_package.py::test_sign_file PASSED
53 tests/test_package.py::test_sign_file_with_identity PASSED
54 tests/test_package.py::test_run_gpg_raises_exception_if_no_gpgs PASSED
55 tests/test_package.py::test_run_gpg_raises_exception_if_not_using_gpg PASSED
56 tests/test_package.py::test_run_gpg_falls_back_to_gpg2 PASSED
57 tests/test_package.py::test_package_signed_name_is_correct PASSED
58 tests/test_package.py::test_package_add_attestations PASSED
59 tests/test_package.py::test_package_add_attestations_invalid_json PASSED
60 tests/test_package.py::test_package_safe_name_is_correct[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ] PASSED
61 tests/test_package.py::test_package_safe_name_is_correct[0123456789-0123456789] PASSED
62 tests/test_package.py::test_package_safe_name_is_correct[!"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~--.-] PASSED
63 tests/test_package.py::test_package_safe_name_is_correct[mosaik.SimConfig-mosaik.SimConfig] PASSED
64 tests/test_package.py::test_package_safe_name_is_correct[mosaik$$$$.SimConfig-mosaik-.SimConfig] PASSED
65 tests/test_package.py::test_metadata_dictionary_keys PASSED
66 tests/test_package.py::test_metadata_dictionary_values[None-None] PASSED
67 tests/test_package.py::test_metadata_dictionary_values[None-gpg_signature1] PASSED
68 tests/test_package.py::test_metadata_dictionary_values[attestation1-None] PASSED
69 tests/test_package.py::test_metadata_dictionary_values[attestation1-gpg_signature1] PASSED
70 tests/test_package.py::test_hash_manager PASSED
71 tests/test_package.py::test_fips_hash_manager_md5 PASSED
72 tests/test_package.py::test_fips_hash_manager_blake2[TypeError] PASSED
73 tests/test_package.py::test_fips_hash_manager_blake2[ValueError] PASSED
74 tests/test_package.py::test_fips_metadata_excludes_md5_and_blake2 PASSED
75 tests/test_package.py::test_pkginfo_returns_no_metadata[missing Name and Version0] PASSED
76 tests/test_package.py::test_pkginfo_returns_no_metadata[missing Name and Version1] PASSED
77 tests/test_package.py::test_pkginfo_returns_no_metadata[missing Name0] PASSED
78 tests/test_package.py::test_pkginfo_returns_no_metadata[missing Name1] PASSED
79 tests/test_package.py::test_pkginfo_returns_no_metadata[missing Version0] PASSED
80 tests/test_package.py::test_pkginfo_returns_no_metadata[missing Version1] PASSED
81 tests/test_package.py::test_malformed_from_file PASSED
82 tests/test_package.py::test_package_from_egg PASSED
83 tests/test_register.py::test_successful_register PASSED
84 tests/test_register.py::test_exception_for_redirect PASSED
85 tests/test_register.py::test_non_existent_package PASSED
86 tests/test_register.py::test_values_from_env_pypi[pypi] PASSED
87 tests/test_register.py::test_values_from_env_pypi[testpypi] PASSED
88 tests/test_register.py::test_values_from_env_not_pypi PASSED
89 tests/test_repository.py::test_gpg_signature_structure_is_preserved PASSED
90 tests/test_repository.py::test_content_structure_is_preserved PASSED
91 tests/test_repository.py::test_iterables_are_flattened PASSED
92 tests/test_repository.py::test_set_client_certificate PASSED
93 tests/test_repository.py::test_set_certificate_authority PASSED
94 tests/test_repository.py::test_make_user_agent_string PASSED
95 tests/test_repository.py::test_package_is_uploaded_404s PASSED
96 tests/test_repository.py::test_package_is_uploaded_200s_with_no_releases PASSED
97 tests/test_repository.py::test_package_is_uploaded_with_releases_using_cache PASSED
98 tests/test_repository.py::test_package_is_uploaded_with_releases_not_using_cache PASSED
99 tests/test_repository.py::test_package_is_uploaded_different_filenames PASSED
100 tests/test_repository.py::test_package_is_registered PASSED
101 tests/test_repository.py::test_disable_progress_bar_is_forwarded_to_rich[True] PASSED
102 tests/test_repository.py::test_disable_progress_bar_is_forwarded_to_rich[False] PASSED
103 tests/test_repository.py::test_upload_retry PASSED
104 tests/test_repository.py::test_release_urls[package_meta0-https://upload.pypi.org/legacy/-release_urls0] PASSED
105 tests/test_repository.py::test_release_urls[package_meta1-https://test.pypi.org/legacy/-release_urls1] PASSED
106 tests/test_repository.py::test_release_urls[package_meta2-https://upload.pypi.org/legacy/-release_urls2] PASSED
107 tests/test_repository.py::test_release_urls[package_meta3-https://upload.pypi.org/legacy/-release_urls3] PASSED
108 tests/test_repository.py::test_release_urls[package_meta4-http://devpi.example.com-release_urls4] PASSED
109 tests/test_repository.py::test_release_urls[package_meta5-https://upload.pypi.org/legacy/-release_urls5] PASSED
110 tests/test_repository.py::test_package_is_uploaded_incorrect_repo_url PASSED
111 tests/test_repository.py::test_logs_username_and_password[None-None-messages0] PASSED
112 tests/test_repository.py::test_logs_username_and_password[--messages1] PASSED
113 tests/test_repository.py::test_logs_username_and_password[username-password-messages2] PASSED
114 tests/test_settings.py::test_settings_takes_no_positional_arguments PASSED
115 tests/test_settings.py::test_settings_transforms_repository_config_pypi PASSED
116 tests/test_settings.py::test_settings_transforms_repository_config_non_pypi PASSED
117 tests/test_settings.py::test_setup_logging[True-20] PASSED
118 tests/test_settings.py::test_setup_logging[False-30] PASSED
119 tests/test_settings.py::test_print_config_path_if_verbose[True] PASSED
120 tests/test_settings.py::test_print_config_path_if_verbose[False] PASSED
121 tests/test_settings.py::test_identity_requires_sign PASSED
122 tests/test_settings.py::test_password_is_required_if_no_client_cert[None] PASSED
123 tests/test_settings.py::test_password_is_required_if_no_client_cert[] PASSED
124 tests/test_settings.py::test_client_cert_and_password_both_set_if_given PASSED
125 tests/test_settings.py::test_password_required_if_no_client_cert_and_non_interactive PASSED
126 tests/test_settings.py::test_no_password_prompt_if_client_cert_and_non_interactive PASSED
127 tests/test_settings.py::TestArgumentParsing::test_non_interactive_flag PASSED
128 tests/test_settings.py::TestArgumentParsing::test_non_interactive_environment PASSED
129 tests/test_settings.py::TestArgumentParsing::test_attestations_flag PASSED
130 tests/test_upload.py::test_make_package_pre_signed_dist PASSED
131 tests/test_upload.py::test_make_package_unsigned_dist PASSED
132 tests/test_upload.py::test_make_package_attestations_flagged_but_missing PASSED
133 tests/test_upload.py::test_split_inputs PASSED
134 tests/test_upload.py::test_successs_prints_release_urls PASSED
135 tests/test_upload.py::test_print_packages_if_verbose PASSED
136 tests/test_upload.py::test_print_response_if_verbose PASSED
137 tests/test_upload.py::test_success_with_pre_signed_distribution PASSED
138 tests/test_upload.py::test_warns_potential_pgp_removal_on_3p_index PASSED
139 tests/test_upload.py::test_exception_with_only_pre_signed_file PASSED
140 tests/test_upload.py::test_success_when_gpg_is_run PASSED
141 tests/test_upload.py::test_exception_for_http_status[False] PASSED
142 tests/test_upload.py::test_exception_for_http_status[True] PASSED
143 tests/test_upload.py::test_get_config_old_format PASSED
144 tests/test_upload.py::test_deprecated_repo PASSED
145 tests/test_upload.py::test_exception_for_redirect[https://test.pypi.org/legacy-https://test.pypi.org/legacy/-https://test.pypi.org/legacy.+https://test.pypi.org/legacy/.+\\nYour repository URL is missing a trailing slash] PASSED
146 tests/test_upload.py::test_exception_for_redirect[https://test.pypi.org/legacy/-https://malicious.website.org/danger/-https://test.pypi.org/legacy/.+https://malicious.website.org/danger/.+\\nIf you trust these URLs] PASSED
147 tests/test_upload.py::test_prints_skip_message_for_uploaded_package PASSED
148 tests/test_upload.py::test_prints_skip_message_for_response PASSED
149 tests/test_upload.py::test_skip_existing_skips_files_on_repository[pypi] PASSED
150 tests/test_upload.py::test_skip_existing_skips_files_on_repository[nexus] PASSED
151 tests/test_upload.py::test_skip_existing_skips_files_on_repository[nexus_new] PASSED
152 tests/test_upload.py::test_skip_existing_skips_files_on_repository[pypiserver] PASSED
153 tests/test_upload.py::test_skip_existing_skips_files_on_repository[artifactory_old] PASSED
154 tests/test_upload.py::test_skip_existing_skips_files_on_repository[artifactory_new] PASSED
155 tests/test_upload.py::test_skip_existing_skips_files_on_repository[gitlab_enterprise] PASSED
156 tests/test_upload.py::test_skip_upload_doesnt_match[wrong_reason] PASSED
157 tests/test_upload.py::test_skip_upload_doesnt_match[wrong_code] PASSED
158 tests/test_upload.py::test_skip_upload_respects_skip_existing PASSED
159 tests/test_upload.py::test_values_from_env_pypi[pypi] PASSED
160 tests/test_upload.py::test_values_from_env_pypi[testpypi] PASSED
161 tests/test_upload.py::test_values_from_env_non_pypi PASSED
162 tests/test_upload.py::test_check_status_code_for_wrong_repo_url[https://upload.pypi.org/] PASSED
163 tests/test_upload.py::test_check_status_code_for_wrong_repo_url[https://test.pypi.org/] PASSED
164 tests/test_upload.py::test_check_status_code_for_wrong_repo_url[https://pypi.org/] PASSED
165 tests/test_upload.py::test_upload_warns_attestations_non_pypi PASSED
166 tests/test_utils.py::test_get_config PASSED
167 tests/test_utils.py::test_get_config_no_distutils PASSED
168 tests/test_utils.py::test_get_config_no_section PASSED
169 tests/test_utils.py::test_get_config_override_pypi_url PASSED
170 tests/test_utils.py::test_get_config_missing PASSED
171 tests/test_utils.py::test_empty_userpass PASSED
172 tests/test_utils.py::test_get_repository_config_missing PASSED
173 tests/test_utils.py::test_get_repository_config_url_with_auth[https://user:pass@notexisting.python.org/pypi-expected_config0] PASSED
174 tests/test_utils.py::test_get_repository_config_url_with_auth[https://auser:pass@pypi.proxy.local.repo.net:8443-expected_config1] PASSED
175 tests/test_utils.py::test_sanitize_url[https://upload.pypi.org/legacy/-https://upload.pypi.org/legacy/] PASSED
176 tests/test_utils.py::test_sanitize_url[https://user:pass@upload.pypi.org/legacy/-https://********@upload.pypi.org/legacy/] PASSED
177 tests/test_utils.py::test_get_repository_config_with_invalid_url[ftp://test.pypi.org-scheme was required to be one of \\['http', 'https'\\]] PASSED
178 tests/test_utils.py::test_get_repository_config_with_invalid_url[https:/-host was required but missing.] PASSED
179 tests/test_utils.py::test_get_repository_config_with_invalid_url[//test.pypi.org-scheme was required but missing.] PASSED
180 tests/test_utils.py::test_get_repository_config_with_invalid_url[foo.bar-host, scheme were required but missing.] PASSED
181 tests/test_utils.py::test_get_repository_config_missing_repository PASSED
182 tests/test_utils.py::test_get_repository_config_missing_file[pypi] PASSED
183 tests/test_utils.py::test_get_repository_config_missing_file[missing-repository] PASSED
184 tests/test_utils.py::test_get_config_deprecated_pypirc PASSED
185 tests/test_utils.py::test_get_userpass_value[cli-config0-key-<lambda>-cli] PASSED
186 tests/test_utils.py::test_get_userpass_value[None-config1-key-<lambda>-value] PASSED
187 tests/test_utils.py::test_get_userpass_value[None-config2-key-<lambda>-fallback] PASSED
188 tests/test_utils.py::test_default_to_environment_action[MY_PASSWORD-None-environ0-None] PASSED
189 tests/test_utils.py::test_default_to_environment_action[MY_PASSWORD-None-environ1-foo] PASSED
190 tests/test_utils.py::test_default_to_environment_action[URL-https://example.org-environ2-https://example.org] PASSED
191 tests/test_utils.py::test_default_to_environment_action[URL-https://example.org-environ3-https://pypi.org] PASSED
192 tests/test_utils.py::test_check_status_code_for_deprecated_pypi_url[https://pypi.python.org] PASSED
193 tests/test_utils.py::test_check_status_code_for_deprecated_pypi_url[https://testpypi.python.org] PASSED
194 tests/test_utils.py::test_check_status_code_for_missing_status_code[True-https://pypi.python.org] PASSED
195 tests/test_utils.py::test_check_status_code_for_missing_status_code[True-https://testpypi.python.org] PASSED
196 tests/test_utils.py::test_check_status_code_for_missing_status_code[False-https://pypi.python.org] PASSED
197 tests/test_utils.py::test_check_status_code_for_missing_status_code[False-https://testpypi.python.org] PASSED
198 tests/test_utils.py::test_get_file_size[3704-3.6 KB] PASSED
199 tests/test_utils.py::test_get_file_size[1153433-1.1 MB] PASSED
200 tests/test_utils.py::test_get_file_size[21412841-20.4 MB] PASSED
201 tests/test_wheel.py::test_version_parsing[fixtures/twine-1.5.0-py2.py3-none-any.whl] PASSED
202 tests/test_wheel.py::test_version_parsing[alt-fixtures/twine-1.5.0-py2.py3-none-any.whl] PASSED
203 tests/test_wheel.py::test_version_parsing_missing_pyver[fixtures/twine-1.5.0-py2.py3-none-any.whl] PASSED
204 tests/test_wheel.py::test_version_parsing_missing_pyver[alt-fixtures/twine-1.5.0-py2.py3-none-any.whl] PASSED
205 tests/test_wheel.py::test_find_metadata_files PASSED
206 tests/test_wheel.py::test_read_valid[fixtures/twine-1.5.0-py2.py3-none-any.whl] PASSED
207 tests/test_wheel.py::test_read_valid[alt-fixtures/twine-1.5.0-py2.py3-none-any.whl] PASSED
208 tests/test_wheel.py::test_read_non_existent_wheel_file_name PASSED
209 tests/test_wheel.py::test_read_invalid_wheel_extension PASSED
210 tests/test_wheel.py::test_read_wheel_empty_metadata PASSED
212 =============================== warnings summary ===============================
213 tests/test_auth.py::test_no_password_defers_to_prompt
214   $(PYTHON_DIR)/vendor-packages/keyrings/alt/Gnome.py:27: DeprecationWarning: GnomeKeyring.get_default_keyring_sync is deprecated
215     result = GnomeKeyring.get_default_keyring_sync()[0]
217 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
218 ======== 201 passed, 1 warning ========
219 py$(PYV): commands[1]> python -m coverage html
220 Wrote HTML report to htmlcov/index.html
221 py$(PYV): commands[2]> python -m coverage report --skip-covered --show-missing --fail-under 97
222 Name                       Stmts   Miss Branch BrPart  Cover   Missing
223 ----------------------------------------------------------------------
224 tests/test_auth.py           127      1      8      1    99%   79
225 tests/test_repository.py     109      0     32      1    99%   95->94
226 tests/test_upload.py         204      2     30      0    98%   351-352
227 tests/test_utils.py           87      1      4      0    99%   331
228 twine/__init__.py             11      0      2      1    92%   42->exit
229 twine/commands/upload.py      95      1     47      1    99%   103
230 twine/package.py             156      4     45      5    96%   106, 134, 222, 301->exit, 307
231 twine/repository.py          118      3     38      4    96%   90, 104->exit, 108->exit, 164->exit, 198, 250
232 twine/settings.py             82      4      4      0    95%   333-341
233 twine/utils.py               138      1     45      0    99%   330
234 twine/wininst.py              38     26     19      0    21%   15-17, 21-25, 28-57
235 ----------------------------------------------------------------------
236 TOTAL                       2023     43    391     13    97%
238 19 files skipped due to complete coverage.
239   py$(PYV): OK
240   congratulations :)