| | |
| | | rootdir: $(@D) |
| | | configfile: pyproject.toml |
| | | testpaths: test |
| | | collecting ... collected 578 items |
| | | collecting ... collected 664 items |
| | | |
| | | test/deprecation/test_basic.py::test_commit_trailers_dict_does_not_warn PASSED |
| | | test/deprecation/test_basic.py::test_commit_trailers_list_does_not_warn PASSED |
| | | test/deprecation/test_basic.py::test_commit_trailers_warns PASSED |
| | | test/deprecation/test_basic.py::test_diff_renamed_file_does_not_warn PASSED |
| | | test/deprecation/test_basic.py::test_diff_renamed_warns PASSED |
| | | test/deprecation/test_basic.py::test_iterable_inheriting_warns PASSED |
| | | test/deprecation/test_basic.py::test_iterable_obj_inheriting_does_not_warn PASSED |
| | | test/deprecation/test_basic.py::test_traversable_list_traverse_override_does_not_warn PASSED |
| | | test/deprecation/test_basic.py::test_traverse_list_traverse_in_base_class_warns PASSED |
| | | test/deprecation/test_basic.py::test_traverse_traverse_in_base_class_warns PASSED |
| | | test/deprecation/test_basic.py::test_traverse_traverse_override_does_not_warn PASSED |
| | | test/deprecation/test_cmd_git.py::test_cannot_access_undefined_on_git_class PASSED |
| | | test/deprecation/test_cmd_git.py::test_class_dir PASSED |
| | | test/deprecation/test_cmd_git.py::test_execute_without_shell_arg_does_not_warn PASSED |
| | | test/deprecation/test_cmd_git.py::test_get_use_shell_on_class_default PASSED |
| | | test/deprecation/test_cmd_git.py::test_get_use_shell_on_instance_default PASSED |
| | | test/deprecation/test_cmd_git.py::test_instance_dir PASSED |
| | | test/deprecation/test_cmd_git.py::test_metaclass_alias PASSED |
| | | test/deprecation/test_cmd_git.py::test_use_shell_cannot_set_on_instance[False] PASSED |
| | | test/deprecation/test_cmd_git.py::test_use_shell_cannot_set_on_instance[True] PASSED |
| | | test/deprecation/test_cmd_git.py::test_use_shell_is_mock_patchable_on_class_as_object_attribute[False] PASSED |
| | | test/deprecation/test_cmd_git.py::test_use_shell_is_mock_patchable_on_class_as_object_attribute[True] PASSED |
| | | test/deprecation/test_cmd_git.py::test_use_shell_set_and_get_on_class PASSED |
| | | test/deprecation/test_cmd_git.py::test_use_shell_set_on_class_get_on_instance PASSED |
| | | test/deprecation/test_compat.py::test_cannot_access_undefined PASSED |
| | | test/deprecation/test_compat.py::test_dir PASSED |
| | | test/deprecation/test_compat.py::test_is_platform PASSED |
| | | test/deprecation/test_toplevel.py::test_alias_target_module_names_are_by_location PASSED |
| | | test/deprecation/test_toplevel.py::test_cannot_access_undefined PASSED |
| | | test/deprecation/test_toplevel.py::test_cannot_import_undefined PASSED |
| | | test/deprecation/test_toplevel.py::test_dir_contains_public_attributes PASSED |
| | | test/deprecation/test_toplevel.py::test_dir_does_not_contain_private_module_aliases PASSED |
| | | test/deprecation/test_toplevel.py::test_dir_does_not_contain_util PASSED |
| | | test/deprecation/test_toplevel.py::test_private_module_alias_access PASSED |
| | | test/deprecation/test_toplevel.py::test_private_module_alias_import PASSED |
| | | test/deprecation/test_toplevel.py::test_util_alias_access PASSED |
| | | test/deprecation/test_toplevel.py::test_util_alias_import PASSED |
| | | test/deprecation/test_types.py::test_can_access_lit_commit_ish_but_it_is_not_usable PASSED |
| | | test/deprecation/test_types.py::test_cannot_access_undefined PASSED |
| | | test/deprecation/test_types.py::test_dir PASSED |
| | | test/performance/test_commit.py::TestPerformance::test_commit_iteration PASSED |
| | | test/performance/test_commit.py::TestPerformance::test_commit_serialization PASSED |
| | | test/performance/test_commit.py::TestPerformance::test_commit_traversal PASSED |
| | |
| | | test/test_diff.py::TestDiff::test_diff_index_raw_format PASSED |
| | | test/test_diff.py::TestDiff::test_diff_initial_commit PASSED |
| | | test/test_diff.py::TestDiff::test_diff_interface PASSED |
| | | test/test_diff.py::TestDiff::test_diff_interface_stability PASSED |
| | | test/test_diff.py::TestDiff::test_diff_of_modified_files_not_added_to_the_index PASSED |
| | | test/test_diff.py::TestDiff::test_diff_patch_format PASSED |
| | | test/test_diff.py::TestDiff::test_diff_patch_with_external_engine PASSED |
| | | test/test_diff.py::TestDiff::test_diff_submodule PASSED |
| | | test/test_diff.py::TestDiff::test_diff_unsafe_paths PASSED |
| | | test/test_diff.py::TestDiff::test_diff_with_change_in_type PASSED |
| | |
| | | test/test_git.py::TestGit::test_env_vars_passed_to_git PASSED |
| | | test/test_git.py::TestGit::test_environment PASSED |
| | | test/test_git.py::TestGit::test_execute_kwargs_set_agrees_with_method PASSED |
| | | test/test_git.py::TestGit::test_failed_refresh_with_arg_does_not_invalidate_cached_version_info PASSED |
| | | test/test_git.py::TestGit::test_failed_refresh_with_env_does_not_invalidate_cached_version_info PASSED |
| | | test/test_git.py::TestGit::test_git_exc_name_is_git PASSED |
| | | test/test_git.py::TestGit::test_handle_process_output PASSED |
| | | test/test_git.py::TestGit::test_initial_refresh_from_bad_git_path_env_error_1___2___ PASSED |
| | |
| | | test/test_git.py::TestGit::test_refresh_with_good_absolute_git_path_arg PASSED |
| | | test/test_git.py::TestGit::test_refresh_with_good_relative_git_path_arg PASSED |
| | | test/test_git.py::TestGit::test_single_char_git_options_are_passed_to_git PASSED |
| | | test/test_git.py::TestGit::test_version PASSED |
| | | test/test_git.py::TestGit::test_successful_default_refresh_invalidates_cached_version_info PASSED |
| | | test/test_git.py::TestGit::test_successful_refresh_with_arg_invalidates_cached_version_info PASSED |
| | | test/test_git.py::TestGit::test_successful_refresh_with_env_invalidates_cached_version_info PASSED |
| | | test/test_git.py::TestGit::test_successful_refresh_with_same_arg_invalidates_cached_version_info PASSED |
| | | test/test_git.py::TestGit::test_successful_refresh_with_same_env_invalidates_cached_version_info PASSED |
| | | test/test_git.py::TestGit::test_version_info PASSED |
| | | test/test_git.py::TestGit::test_version_info_cache_is_not_pickled PASSED |
| | | test/test_git.py::TestGit::test_version_info_cache_is_per_instance PASSED |
| | | test/test_git.py::TestGit::test_version_info_is_cached PASSED |
| | | test/test_git.py::TestGit::test_version_info_is_leading_numbers_1____123____456____789_____123__456__789__ PASSED |
| | | test/test_git.py::TestGit::test_version_info_is_leading_numbers_2____12____34____56____78_____12__34__56__78__ PASSED |
| | | test/test_git.py::TestGit::test_version_info_is_leading_numbers_3____12____34____56____78____90_____12__34__56__78__ PASSED |
| | | test/test_git.py::TestGit::test_version_info_is_leading_numbers_4____1____2____a____3_____1__2__ PASSED |
| | | test/test_git.py::TestGit::test_version_info_is_leading_numbers_5____1_____2____3_____1___ PASSED |
| | | test/test_git.py::TestGit::test_version_info_is_leading_numbers_6____1____2a____3_____1___ PASSED |
| | | test/test_git.py::TestGit::test_version_info_pickleable PASSED |
| | | test/test_imports.py::test_git_index_util_attribute_is_git_index_util PASSED |
| | | test/test_imports.py::test_git_util_attribute_is_git_index_util PASSED |
| | | test/test_imports.py::test_separate_git_util_module_exists PASSED |
| | | test/test_index.py::TestIndex::test__to_relative_path_at_root PASSED |
| | | test/test_index.py::TestIndex::test_add_a_file_with_wildcard_chars PASSED |
| | | test/test_index.py::TestIndex::test_add_utf8P_path PASSED |
| | | test/test_index.py::TestIndex::test_commit_msg_hook_fail PASSED |
| | | test/test_index.py::TestIndex::test_commit_msg_hook_success PASSED |
| | | test/test_index.py::TestIndex::test_compare_write_tree PASSED |
| | | test/test_index.py::TestIndex::test_hook_uses_shell_not_from_cwd_1__False__ PASSED |
| | | test/test_index.py::TestIndex::test_hook_uses_shell_not_from_cwd_2__True__ PASSED |
| | | test/test_index.py::TestIndex::test_index_add_pathlike PASSED |
| | | test/test_index.py::TestIndex::test_index_bare_add PASSED |
| | | test/test_index.py::TestIndex::test_index_file_base PASSED |
| | | test/test_index.py::TestIndex::test_index_file_diffing PASSED |
| | | test/test_index.py::TestIndex::test_index_file_from_tree PASSED |
| | | test/test_index.py::TestIndex::test_index_lock_handling PASSED |
| | | test/test_index.py::TestIndex::test_index_merge_tree PASSED |
| | | test/test_index.py::TestIndex::test_index_mutation PASSED |
| | | test/test_index.py::TestIndex::test_index_new PASSED |
| | | test/test_index.py::TestIndex::test_index_single_addremove PASSED |
| | | test/test_index.py::TestIndex::test_pre_commit_hook_fail PASSED |
| | | test/test_index.py::TestIndex::test_pre_commit_hook_success PASSED |
| | | test/test_index.py::TestIndex::test_run_commit_hook PASSED |
| | | test/test_index.py::TestIndexUtils::test_temporary_file_swap[Path] PASSED |
| | | test/test_index.py::TestIndexUtils::test_temporary_file_swap[str] PASSED |
| | | test/test_installation.py::TestInstallation::test_installation PASSED |
| | | test/test_quick_doc.py::QuickDoc::test_cloned_repo_object PASSED |
| | | test/test_quick_doc.py::QuickDoc::test_init_repo_object PASSED |
| | |
| | | test/test_remote.py::TestRemote::test_creation_and_removal PASSED |
| | | test/test_remote.py::TestRemote::test_fetch_error PASSED |
| | | test/test_remote.py::TestRemote::test_fetch_info PASSED |
| | | test/test_remote.py::TestRemote::test_fetch_unsafe_branch_name PASSED |
| | | test/test_remote.py::TestRemote::test_fetch_unsafe_options PASSED |
| | | test/test_remote.py::TestRemote::test_fetch_unsafe_options_allowed PASSED |
| | | test/test_remote.py::TestRemote::test_fetch_unsafe_url PASSED |
| | |
| | | test/test_util.py::TestUtils::test_utctz_to_altz PASSED |
| | | |
| | | ================================== XFAILURES =================================== |
| | | ___________________________ TestSubmodule.test_depth ___________________________ |
| | | |
| | | self = <test.test_submodule.TestSubmodule testMethod=test_depth> |
| | | rwdir = '/tmp/test_deptheemc93mk' |
| | | |
| | | @pytest.mark.xfail( |
| | | reason="for some unknown reason the assertion fails, even though it in fact is working in more common setup", |
| | | raises=AssertionError, |
| | | ) |
| | | @with_rw_directory |
| | | def test_depth(self, rwdir): |
| | | parent = git.Repo.init(osp.join(rwdir, "test_depth")) |
| | | sm_name = "mymodules/myname" |
| | | sm_depth = 1 |
| | | sm = parent.create_submodule(sm_name, sm_name, url=self._small_repo_url(), depth=sm_depth) |
| | | > self.assertEqual(len(list(sm.module().iter_commits())), sm_depth) |
| | | E AssertionError: 211 != 1 |
| | | |
| | | test/test_submodule.py:1078: AssertionError |
| | | $(PYTHON_DIR)/unittest/case.py:830: AssertionError: 211 != 1 |
| | | |
| | | =========================== short test summary info ============================ |
| | | ======== 504 passed, 73 skipped, 1 xfailed, 2 warnings ======== |
| | | ======== 590 passed, 73 skipped, 1 xfailed, 3 warnings ======== |
| | | py$(PYV): OK |
| | | congratulations :) |