python311Packages.warcio: disable failing test

This commit is contained in:
Fabian Affolter 2023-11-26 16:12:13 +01:00
parent 841819b8db
commit 693b4d904a

View file

@ -28,6 +28,7 @@ buildPythonPackage rec {
patches = [
(fetchpatch {
# Add offline mode to skip tests that require an internet connection, https://github.com/webrecorder/warcio/pull/135
name = "add-offline-option.patch";
url = "https://github.com/webrecorder/warcio/pull/135/commits/2546fe457c57ab0b391764a4ce419656458d9d07.patch";
hash = "sha256-3izm9LvAeOFixiIUUqmd5flZIxH92+NxL7jeu35aObQ=";
@ -51,6 +52,11 @@ buildPythonPackage rec {
"--offline"
];
disabledTests = [
# Tests require network access, see above
"test_get_cache_to_file"
];
pythonImportsCheck = [
"warcio"
];