diff --git a/pkgs/development/python-modules/warcio/default.nix b/pkgs/development/python-modules/warcio/default.nix index 91ddc5ed3d3b..cb9536e18d41 100644 --- a/pkgs/development/python-modules/warcio/default.nix +++ b/pkgs/development/python-modules/warcio/default.nix @@ -11,6 +11,7 @@ setuptools, six, wsgiprox, + pytest-cov-stub, }: buildPythonPackage rec { @@ -47,13 +48,12 @@ buildPythonPackage rec { pytestCheckHook requests wsgiprox + pytest-cov-stub ]; - pytestFlagsArray = [ "--offline" ]; - - disabledTests = [ - # Tests require network access, see above - "test_get_cache_to_file" + pytestFlagsArray = [ + "--offline" + "--ignore=test/test_capture_http_proxy.py" ]; pythonImportsCheck = [ "warcio" ];