From 52e010bf6b8717dc4f99aaa94bc348e41fc1bdc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sun, 2 Mar 2025 13:02:30 -0800 Subject: [PATCH] python313Packages.bluetooth-auto-recovery: run all tests --- .../bluetooth-auto-recovery/default.nix | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/bluetooth-auto-recovery/default.nix b/pkgs/development/python-modules/bluetooth-auto-recovery/default.nix index f1f3ad0d8da8..ba7579711ee7 100644 --- a/pkgs/development/python-modules/bluetooth-auto-recovery/default.nix +++ b/pkgs/development/python-modules/bluetooth-auto-recovery/default.nix @@ -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" ];