python310Packages.extractcode: disable failing test

This commit is contained in:
Fabian Affolter 2022-08-06 21:10:17 +02:00 committed by Cole Helbling
parent b7ec30b433
commit f9b065190e

View File

@ -1,14 +1,14 @@
{ lib
, fetchPypi
, buildPythonPackage
, extractcode-7z
, extractcode-libarchive
, fetchPypi
, patch
, pytest-xdist
, pytestCheckHook
, pythonOlder
, setuptools-scm
, typecode
, patch
, extractcode-libarchive
, extractcode-7z
, pytestCheckHook
, pytest-xdist
, pythonOlder
}:
buildPythonPackage rec {
@ -41,21 +41,23 @@ buildPythonPackage rec {
pytest-xdist
];
# CLI test tests the cli which we can't do until after install
disabledTestPaths = [
# CLI test tests the CLI which we can't do until after install
"tests/test_extractcode_cli.py"
];
# test_uncompress_* wants to use a binary to extract instead of the provided library
disabledTests = [
# test_uncompress_* wants to use a binary to extract instead of the provided library
"test_uncompress_lz4_basic"
"test_extract_tarlz4_basic"
"test_extract_rar_with_trailing_data"
# tries to parse /boot/vmlinuz-*, which is not available in the nix sandbox
# Tries to parse /boot/vmlinuz-*, which is not available in the nix sandbox
"test_can_extract_qcow2_vm_image_as_tarball"
"test_can_extract_qcow2_vm_image_not_as_tarball"
"test_can_listfs_from_qcow2_image"
"test_get_extractor_qcow2"
# WARNING patch:patch.py:450 inconsistent line ends in patch hunks
"test_patch_info_patch_patches_windows_plugin_explorer_patch"
];
pythonImportsCheck = [