Unverified Commit 86f322b6 authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

python312Packages.aioasuswrt: migrate to pytest-cov-stub (#371393)

parents f348d051 4c8505b4
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@
  asyncssh,
  buildPythonPackage,
  fetchFromGitHub,
  pytest-cov-stub,
  pytest-asyncio,
  pytest-mock,
  pytestCheckHook,
@@ -24,18 +25,13 @@ buildPythonPackage rec {
    hash = "sha256-RQxIgAU9KsTbcTKc/Zl+aP77lbDSeiYzR48MtIVwacc=";
  };

  postPatch = ''
    substituteInPlace setup.cfg \
      --replace-fail "--cov-report html" "" \
      --replace-fail "--cov-report term-missing" ""
  '';

  build-system = [ setuptools ];

  dependencies = [ asyncssh ];

  nativeCheckInputs = [
    pytest-asyncio
    pytest-cov-stub
    pytest-mock
    pytestCheckHook
  ];