mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 19:55:41 +03:00
luddite: migrate to pytest-cov-stub
This commit is contained in:
parent
cf0353ac1e
commit
cdd5740b0d
1 changed files with 2 additions and 1 deletions
|
@ -5,6 +5,7 @@
|
|||
setuptools,
|
||||
packaging,
|
||||
pytestCheckHook,
|
||||
pytest-cov-stub,
|
||||
pytest-mock,
|
||||
}:
|
||||
|
||||
|
@ -22,7 +23,6 @@ buildPythonPackage rec {
|
|||
|
||||
postPatch = ''
|
||||
substituteInPlace pytest.ini \
|
||||
--replace "--cov=luddite --cov-report=html --cov-report=term --no-cov-on-fail" "" \
|
||||
--replace "--disable-socket" ""
|
||||
'';
|
||||
|
||||
|
@ -34,6 +34,7 @@ buildPythonPackage rec {
|
|||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
pytest-cov-stub
|
||||
pytest-mock
|
||||
];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue