python313Packages.bluetooth-auto-recovery: run all tests

This commit is contained in:
Robert Schütz
2025-03-05 23:03:32 +01:00
committed by Martin Weinelt
parent 3e2a9d5753
commit 52e010bf6b
@@ -7,6 +7,8 @@
fetchFromGitHub,
poetry-core,
pyric,
pytest-asyncio,
pytest-cov-stub,
pytestCheckHook,
pythonOlder,
usb-devices,
@@ -26,11 +28,6 @@ buildPythonPackage rec {
hash = "sha256-JaFazXjbHohj4+rPkQA/SaBP0irHrre3vaCqz7T2bwE=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail " --cov=bluetooth_auto_recovery --cov-report=term-missing:skip-covered" ""
'';
build-system = [ poetry-core ];
dependencies = [
@@ -41,7 +38,11 @@ buildPythonPackage rec {
usb-devices
];
nativeCheckInputs = [ pytestCheckHook ];
nativeCheckInputs = [
pytest-asyncio
pytest-cov-stub
pytestCheckHook
];
pythonImportsCheck = [ "bluetooth_auto_recovery" ];