py$(PYV): remove tox env folder $(@D)/.tox/py$(PYV) py$(PYV): commands[0]> python -m pytest --cov=pkginfo --cov-append --cov-report= ============================= test session starts ============================== platform sunos5 -- Python $(PYTHON_VERSION).X -- $(@D)/.tox/py$(PYV)/bin/python cachedir: .tox/py$(PYV)/.pytest_cache rootdir: $(@D) collecting ... collected 196 items pkginfo/tests/test_bdist.py::test_bdist_ctor_w_bogus_filename PASSED pkginfo/tests/test_bdist.py::test_bdist_ctor_w_non_egg PASSED pkginfo/tests/test_bdist.py::test_bdist_ctor_wo_PKG_INFO PASSED pkginfo/tests/test_bdist.py::test_bdist_ctor_w_egg PASSED pkginfo/tests/test_bdist.py::test_bdist_ctor_w_egg_and_metadata_version PASSED pkginfo/tests/test_commandline.py::test__parse_options_empty PASSED pkginfo/tests/test_commandline.py::test__parse_options_nonempty PASSED pkginfo/tests/test_commandline.py::test_base_ctor_defaults PASSED pkginfo/tests/test_commandline.py::test_base_ctor_w_fields PASSED pkginfo/tests/test_commandline.py::test_simple___init__ PASSED pkginfo/tests/test_commandline.py::test_simple__call___w_empty_fields PASSED pkginfo/tests/test_commandline.py::test_simple__call___w_skip_and_value_None_no_fields PASSED pkginfo/tests/test_commandline.py::test_simple__call___w_skip_and_value_empty_tuple_explicit_fields PASSED pkginfo/tests/test_commandline.py::test_simple__call___w_skip_but_values_explicit_fields PASSED pkginfo/tests/test_commandline.py::test_singleline__init___ PASSED pkginfo/tests/test_commandline.py::test_singleline__call__wo_fields_wo_list PASSED pkginfo/tests/test_commandline.py::test_singleline__call__w_fields_w_list PASSED pkginfo/tests/test_commandline.py::test_csv__init___ PASSED pkginfo/tests/test_commandline.py::test_csv__call__wo_fields_wo_list PASSED pkginfo/tests/test_commandline.py::test_csv__call__w_fields_w_list PASSED pkginfo/tests/test_commandline.py::test_ini__call___duplicate PASSED pkginfo/tests/test_commandline.py::test_ini__call___wo_fields_wo_list PASSED pkginfo/tests/test_commandline.py::test_ini__call___w_fields_w_list PASSED pkginfo/tests/test_commandline.py::test_json__call___duplicate_with_meta_and_fields PASSED pkginfo/tests/test_commandline.py::test_json__call___duplicate_with_meta_wo_fields PASSED pkginfo/tests/test_commandline.py::test_json__call___wo_fields_wo_list PASSED pkginfo/tests/test_commandline.py::test_json__call___w_fields_w_list PASSED pkginfo/tests/test_commandline.py::test_json__call___output PASSED pkginfo/tests/test_commandline.py::test_main_w_missing_dist PASSED pkginfo/tests/test_commandline.py::test_main_w_dist_wo_download_url PASSED pkginfo/tests/test_commandline.py::test_main_w_dist_w_download_url PASSED pkginfo/tests/test_develop.py::test_develop_ctor_w_path PASSED pkginfo/tests/test_develop.py::test_develop_ctor_w_invalid_path PASSED pkginfo/tests/test_distribution.py::test__must_decode_w_bytes_latin1 PASSED pkginfo/tests/test_distribution.py::test__must_decode_w_bytes_utf8 PASSED pkginfo/tests/test_distribution.py::test__must_decode_w_unicode PASSED pkginfo/tests/test_distribution.py::test__must_decode_w_object PASSED pkginfo/tests/test_distribution.py::test__collapse_leading_ws_w_descr_one_line_wo_leading_ws PASSED pkginfo/tests/test_distribution.py::test__collapse_leading_ws_w_descr_one_line_w_leading_ws PASSED pkginfo/tests/test_distribution.py::test__collapse_leading_ws_w_descr_multi_line_wo_leading_ws PASSED pkginfo/tests/test_distribution.py::test__collapse_leading_ws_w_descr_multi_line_w_leading_ws PASSED pkginfo/tests/test_distribution.py::test__collapse_leading_ws_w_descr_multi_line_w_mixed_leading_ws PASSED pkginfo/tests/test_distribution.py::test__collapse_leading_ws_w_other_one_line_wo_leading_ws PASSED pkginfo/tests/test_distribution.py::test__collapse_leading_ws_w_other_one_line_w_leading_ws PASSED pkginfo/tests/test_distribution.py::test__collapse_leading_ws_w_other_multi_line_wo_leading_ws PASSED pkginfo/tests/test_distribution.py::test__collapse_leading_ws_w_other_multi_line_w_leading_ws PASSED pkginfo/tests/test_distribution.py::test_distribution_ctor_defaults PASSED pkginfo/tests/test_distribution.py::test_distribution_extractMetadata_raises_NotImplementedError PASSED pkginfo/tests/test_distribution.py::test_distribution_read_raises_NotImplementedError PASSED pkginfo/tests/test_distribution.py::test_distribution__getHeaderAttrs_hit PASSED pkginfo/tests/test_distribution.py::test_distribution__getHeaderAttrs_miss_unknown PASSED pkginfo/tests/test_distribution.py::test_distribution__getHeaderAttrs_miss_new PASSED pkginfo/tests/test_distribution.py::test_distribution_parse_given_unicode PASSED pkginfo/tests/test_distribution.py::test_distribution_parse_Metadata_Version_1_0 PASSED pkginfo/tests/test_distribution.py::test_distribution_parse_Metadata_Version_1_1 PASSED pkginfo/tests/test_distribution.py::test_distribution_parse_Metadata_Version_1_2 PASSED pkginfo/tests/test_distribution.py::test_distribution_parse_Metadata_Version_2_1 PASSED pkginfo/tests/test_distribution.py::test_distribution_parse_Metadata_Version_2_2 PASSED pkginfo/tests/test_distribution.py::test_distribution_parse_Metadata_Version_2_3 PASSED pkginfo/tests/test_distribution.py::test_distribution_parse_Metadata_Version_unknown PASSED pkginfo/tests/test_distribution.py::test_distribution_parse_Metadata_Version_override PASSED pkginfo/tests/test_distribution.py::test_distribution_parse_Name PASSED pkginfo/tests/test_distribution.py::test_distribution_parse_Version PASSED pkginfo/tests/test_distribution.py::test_distribution_parse_Platform_single PASSED pkginfo/tests/test_distribution.py::test_distribution_parse_Platform_multiple PASSED pkginfo/tests/test_distribution.py::test_distribution_parse_Supported_Platform_single PASSED pkginfo/tests/test_distribution.py::test_distribution_parse_Supported_Platform_multiple PASSED pkginfo/tests/test_distribution.py::test_distribution_parse_Summary PASSED pkginfo/tests/test_distribution.py::test_distribution_parse_Description PASSED pkginfo/tests/test_distribution.py::test_distribution_parse_Description_multiline PASSED pkginfo/tests/test_distribution.py::test_distribution_parse_Description_in_payload PASSED pkginfo/tests/test_distribution.py::test_distribution_parse_Keywords PASSED pkginfo/tests/test_distribution.py::test_distribution_parse_Home_page PASSED pkginfo/tests/test_distribution.py::test_distribution_parse_Author PASSED pkginfo/tests/test_distribution.py::test_distribution_parse_Author_Email PASSED pkginfo/tests/test_distribution.py::test_distribution_parse_License PASSED pkginfo/tests/test_distribution.py::test_distribution_parse_Classifier_single PASSED pkginfo/tests/test_distribution.py::test_distribution_parse_Classifier_multiple PASSED pkginfo/tests/test_distribution.py::test_distribution_parse_Download_URL PASSED pkginfo/tests/test_distribution.py::test_distribution_parse_Requires_single_wo_version PASSED pkginfo/tests/test_distribution.py::test_distribution_parse_Requires_single_w_version PASSED pkginfo/tests/test_distribution.py::test_distribution_parse_Requires_multiple PASSED pkginfo/tests/test_distribution.py::test_distribution_parse_Provides_single_wo_version PASSED pkginfo/tests/test_distribution.py::test_distribution_parse_Provides_single_w_version PASSED pkginfo/tests/test_distribution.py::test_distribution_parse_Provides_multiple PASSED pkginfo/tests/test_distribution.py::test_distribution_parse_Obsoletes_single_no_version PASSED pkginfo/tests/test_distribution.py::test_distribution_parse_Obsoletes_single_w_version PASSED pkginfo/tests/test_distribution.py::test_distribution_parse_Obsoletes_multiple PASSED pkginfo/tests/test_distribution.py::test_distribution_parse_Maintainer PASSED pkginfo/tests/test_distribution.py::test_distribution_parse_Maintainer_Email PASSED pkginfo/tests/test_distribution.py::test_distribution_parse_Requires_Python_single_spec PASSED pkginfo/tests/test_distribution.py::test_distribution_parse_Requires_External_single_wo_version PASSED pkginfo/tests/test_distribution.py::test_distribution_parse_Requires_External_single_w_version PASSED pkginfo/tests/test_distribution.py::test_distribution_parse_Requires_External_multiple PASSED pkginfo/tests/test_distribution.py::test_distribution_parse_Requires_Dist_single_wo_version PASSED pkginfo/tests/test_distribution.py::test_distribution_parse_Requires_Dist_single_w_version PASSED pkginfo/tests/test_distribution.py::test_distribution_parse_Requires_Dist_single_w_env_marker PASSED pkginfo/tests/test_distribution.py::test_distribution_parse_Requires_Dist_multiple PASSED pkginfo/tests/test_distribution.py::test_distribution_parse_Provides_Dist_single_wo_version PASSED pkginfo/tests/test_distribution.py::test_distribution_parse_Provides_Dist_single_w_version PASSED pkginfo/tests/test_distribution.py::test_distribution_parse_Provides_Dist_single_w_env_marker PASSED pkginfo/tests/test_distribution.py::test_distribution_parse_Provides_Dist_multiple PASSED pkginfo/tests/test_distribution.py::test_distribution_parse_Obsoletes_Dist_single_no_version PASSED pkginfo/tests/test_distribution.py::test_distribution_parse_Obsoletes_Dist_single_w_version PASSED pkginfo/tests/test_distribution.py::test_distribution_parse_Obsoletes_Dist_single_w_env_marker PASSED pkginfo/tests/test_distribution.py::test_distribution_parse_Obsoletes_Dist_multiple PASSED pkginfo/tests/test_distribution.py::test_distribution_parse_Project_URL_single_no_version PASSED pkginfo/tests/test_distribution.py::test_distribution_parse_Project_URL_multiple PASSED pkginfo/tests/test_distribution.py::test_distribution_parse_Provides_Extra_single PASSED pkginfo/tests/test_distribution.py::test_distribution_parse_Provides_Extra_multiple PASSED pkginfo/tests/test_distribution.py::test_distribution_parse_Distribution_Content_Type_single PASSED pkginfo/tests/test_distribution.py::test_distribution_parse_Dynamic_single PASSED pkginfo/tests/test_distribution.py::test_distribution_parse_Dynamic_multiple PASSED pkginfo/tests/test_index.py::test_index_empty PASSED pkginfo/tests/test_index.py::test_index___getitem___miss PASSED pkginfo/tests/test_index.py::test_index___setitem___value_not_dist PASSED pkginfo/tests/test_index.py::test_index___setitem___bad_key PASSED pkginfo/tests/test_index.py::test_index___setitem___valid_key PASSED pkginfo/tests/test_index.py::test_index_add_not_dist PASSED pkginfo/tests/test_index.py::test_index_add_valid_dist PASSED pkginfo/tests/test_installed.py::test_installed_ctor_w_package_no___file__ PASSED pkginfo/tests/test_installed.py::test_installed_ctor_w_package PASSED pkginfo/tests/test_installed.py::test_installed_ctor_w_no___package___falls_back_to___name__ PASSED pkginfo/tests/test_installed.py::test_installed_ctor_w_package_no_PKG_INFO PASSED pkginfo/tests/test_installed.py::test_installed_ctor_w_package_and_metadata_version PASSED pkginfo/tests/test_installed.py::test_installed_ctor_w_name PASSED pkginfo/tests/test_installed.py::test_installed_ctor_w_name_and_metadata_version PASSED pkginfo/tests/test_installed.py::test_installed_ctor_w_invalid_name PASSED pkginfo/tests/test_installed.py::test_installed_ctor_w_egg_info_as_file PASSED pkginfo/tests/test_installed.py::test_installed_ctor_w_dist_info PASSED pkginfo/tests/test_installed.py::test_installed_namespaced_pkg_installed_via_setuptools PASSED pkginfo/tests/test_installed.py::test_installed_namespaced_pkg_installed_via_pth PASSED pkginfo/tests/test_sdist.py::test_sdist_ctor_w_invalid_filename[_make_sdist] PASSED pkginfo/tests/test_sdist.py::test_sdist_ctor_w_invalid_filename[_make_unpacked_sdist] PASSED pkginfo/tests/test_sdist.py::test_sdist_ctor_wo_PKG_INFO[_make_sdist] PASSED pkginfo/tests/test_sdist.py::test_sdist_ctor_wo_PKG_INFO[_make_unpacked_sdist] PASSED pkginfo/tests/test_sdist.py::test_sdist_ctor_w_invalid_PKG_INFO[_make_sdist] PASSED pkginfo/tests/test_sdist.py::test_sdist_ctor_w_invalid_PKG_INFO[_make_unpacked_sdist] PASSED pkginfo/tests/test_sdist.py::test_sdist_ctor_w_bogus[_make_sdist] PASSED pkginfo/tests/test_sdist.py::test_sdist_ctor_w_bogus[_make_unpacked_sdist] PASSED pkginfo/tests/test_sdist.py::test_sdist_ctor_w_tarball_fooling_is_zipfile PASSED pkginfo/tests/test_sdist.py::test_sdist_ctor_w_archive[mypackage-0.1.tar-False] PASSED pkginfo/tests/test_sdist.py::test_sdist_ctor_w_archive[mypackage-0.1.tar-True] PASSED pkginfo/tests/test_sdist.py::test_sdist_ctor_w_unpacked_dir[mypackage-0.1.tar-False] PASSED pkginfo/tests/test_sdist.py::test_sdist_ctor_w_unpacked_dir[mypackage-0.1.tar-True] PASSED pkginfo/tests/test_sdist.py::test_sdist_ctor_w_unpacked_setup[mypackage-0.1.tar-False] PASSED pkginfo/tests/test_sdist.py::test_sdist_ctor_w_unpacked_setup[mypackage-0.1.tar-True] PASSED pkginfo/tests/test_sdist.py::test_sdist_ctor_w_archive[mypackage-0.1.tar.gz-False] PASSED pkginfo/tests/test_sdist.py::test_sdist_ctor_w_archive[mypackage-0.1.tar.gz-True] PASSED pkginfo/tests/test_sdist.py::test_sdist_ctor_w_unpacked_dir[mypackage-0.1.tar.gz-False] PASSED pkginfo/tests/test_sdist.py::test_sdist_ctor_w_unpacked_dir[mypackage-0.1.tar.gz-True] PASSED pkginfo/tests/test_sdist.py::test_sdist_ctor_w_unpacked_setup[mypackage-0.1.tar.gz-False] PASSED pkginfo/tests/test_sdist.py::test_sdist_ctor_w_unpacked_setup[mypackage-0.1.tar.gz-True] PASSED pkginfo/tests/test_sdist.py::test_sdist_ctor_w_archive[mypackage-0.1.tar.bz2-False] PASSED pkginfo/tests/test_sdist.py::test_sdist_ctor_w_archive[mypackage-0.1.tar.bz2-True] PASSED pkginfo/tests/test_sdist.py::test_sdist_ctor_w_unpacked_dir[mypackage-0.1.tar.bz2-False] PASSED pkginfo/tests/test_sdist.py::test_sdist_ctor_w_unpacked_dir[mypackage-0.1.tar.bz2-True] PASSED pkginfo/tests/test_sdist.py::test_sdist_ctor_w_unpacked_setup[mypackage-0.1.tar.bz2-False] PASSED pkginfo/tests/test_sdist.py::test_sdist_ctor_w_unpacked_setup[mypackage-0.1.tar.bz2-True] PASSED pkginfo/tests/test_sdist.py::test_sdist_ctor_w_archive[mypackage-0.1.zip-False] PASSED pkginfo/tests/test_sdist.py::test_sdist_ctor_w_archive[mypackage-0.1.zip-True] PASSED pkginfo/tests/test_sdist.py::test_sdist_ctor_w_unpacked_dir[mypackage-0.1.zip-False] PASSED pkginfo/tests/test_sdist.py::test_sdist_ctor_w_unpacked_dir[mypackage-0.1.zip-True] PASSED pkginfo/tests/test_sdist.py::test_sdist_ctor_w_unpacked_setup[mypackage-0.1.zip-False] PASSED pkginfo/tests/test_sdist.py::test_sdist_ctor_w_unpacked_setup[mypackage-0.1.zip-True] PASSED pkginfo/tests/test_utils.py::test_get_metadata_archive[mypackage-0.1.tar-False] PASSED pkginfo/tests/test_utils.py::test_get_metadata_archive[mypackage-0.1.tar-True] PASSED pkginfo/tests/test_utils.py::test_get_metadata_archive[mypackage-0.1.tar.gz-False] PASSED pkginfo/tests/test_utils.py::test_get_metadata_archive[mypackage-0.1.tar.gz-True] PASSED pkginfo/tests/test_utils.py::test_get_metadata_archive[mypackage-0.1.tar.bz2-False] PASSED pkginfo/tests/test_utils.py::test_get_metadata_archive[mypackage-0.1.tar.bz2-True] PASSED pkginfo/tests/test_utils.py::test_get_metadata_archive[mypackage-0.1.zip-False] PASSED pkginfo/tests/test_utils.py::test_get_metadata_archive[mypackage-0.1.zip-True] PASSED pkginfo/tests/test_utils.py::test_get_metadata_w_egg PASSED pkginfo/tests/test_utils.py::test_get_metadata_w_egg_and_metadata_version PASSED pkginfo/tests/test_utils.py::test_get_metadata_w_wheel PASSED pkginfo/tests/test_utils.py::test_get_metadata_w_wheel_and_metadata_version PASSED pkginfo/tests/test_utils.py::test_get_metadata_w_module PASSED pkginfo/tests/test_utils.py::test_get_metadata_w_module_and_metadata_version PASSED pkginfo/tests/test_utils.py::test_get_metadata_w_package_name PASSED pkginfo/tests/test_utils.py::test_get_metadata_w_package_name_and_metadata_version PASSED pkginfo/tests/test_utils.py::test_get_metadata_w_directory_no_EGG_INFO PASSED pkginfo/tests/test_utils.py::test_get_metadata_w_directory PASSED pkginfo/tests/test_utils.py::test_get_metadata_w_directory_and_metadata_version PASSED pkginfo/tests/test_wheel.py::test_wheel_ctor_w_bogus_filename PASSED pkginfo/tests/test_wheel.py::test_wheel_ctor_w_non_wheel[mypackage-0.1.tar] PASSED pkginfo/tests/test_wheel.py::test_wheel_ctor_w_non_wheel[mypackage-0.1.tar.gz] PASSED pkginfo/tests/test_wheel.py::test_wheel_ctor_w_non_wheel[mypackage-0.1.tar.bz2] PASSED pkginfo/tests/test_wheel.py::test_wheel_ctor_w_non_wheel[mypackage-0.1.zip] PASSED pkginfo/tests/test_wheel.py::test_wheel_ctor_wo_dist_info PASSED pkginfo/tests/test_wheel.py::test_wheel_ctor_w_valid_wheel PASSED pkginfo/tests/test_wheel.py::test_wheel_ctor_w_valid_wheel_and_metadata_version PASSED pkginfo/tests/test_wheel.py::test_wheel_ctor_w_valid_wheel_w_description_header PASSED pkginfo/tests/test_wheel.py::test_wheel_ctor_w_valid_wheel_w_description_body PASSED pkginfo/tests/test_wheel.py::test_wheel_ctor_w_installed_wheel PASSED pkginfo/tests/test_wheel.py::test_wheel_ctor_w_valid_installed_wheel PASSED ======== 196 passed ======== py$(PYV): OK congratulations :)