TestReadUtils.test_extract_file_exists_but_incomplete_removes_and_reextracts#
- TestReadUtils.test_extract_file_exists_but_incomplete_removes_and_reextracts(mock_path_exists, mock_path_isfile, mock_is_tarfile, mock_is_zipfile, mock_extraction_is_complete, mock_remove_incomplete_extraction, mock_extract_zipped_file, mock_extract_tarred_file, mock_get_reader)[source]#
A path_extracted that exists but doesn’t match the archive (an interrupted previous extraction) must be removed and re-extracted from scratch, not trusted.