Unverified Commit c4f2d1f4 authored by Peder Bergebakken Sundt's avatar Peder Bergebakken Sundt Committed by GitHub
Browse files

python3Packages.warcio: fix build (#382418)

parents 79dbad4b e8234072
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -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" ];