Commit 205d47cc authored by Peder Bergebakken Sundt's avatar Peder Bergebakken Sundt
Browse files

python311Packages.aiohttp-remotes: migate to pytest-cov-stub

parent 7e860bf4
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -5,6 +5,7 @@
  fetchPypi,
  flit,
  pytest-aiohttp,
  pytest-cov-stub,
  pytestCheckHook,
  pythonOlder,
  typing-extensions,
@@ -29,14 +30,10 @@ buildPythonPackage rec {

  nativeCheckInputs = [
    pytest-aiohttp
    pytest-cov-stub
    pytestCheckHook
  ];

  postPatch = ''
    substituteInPlace setup.cfg \
      --replace " --no-cov-on-fail --cov-branch --cov=aiohttp_remotes --cov-report=term --cov-report=html" ""
  '';

  pythonImportsCheck = [ "aiohttp_remotes" ];

  pytestFlagsArray = [