mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 04:35: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,
|
setuptools,
|
||||||
packaging,
|
packaging,
|
||||||
pytestCheckHook,
|
pytestCheckHook,
|
||||||
|
pytest-cov-stub,
|
||||||
pytest-mock,
|
pytest-mock,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -22,7 +23,6 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace pytest.ini \
|
substituteInPlace pytest.ini \
|
||||||
--replace "--cov=luddite --cov-report=html --cov-report=term --no-cov-on-fail" "" \
|
|
||||||
--replace "--disable-socket" ""
|
--replace "--disable-socket" ""
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
@ -34,6 +34,7 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
|
pytest-cov-stub
|
||||||
pytest-mock
|
pytest-mock
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue