From d37c3e56ecebf57a8145d15677680d83eded81fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Tue, 3 Sep 2024 16:27:49 -0700 Subject: [PATCH] python312Packages.aioshelly: run tests --- pkgs/development/python-modules/aioshelly/default.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/aioshelly/default.nix b/pkgs/development/python-modules/aioshelly/default.nix index 3fc93a90da08..a7d2a5349852 100644 --- a/pkgs/development/python-modules/aioshelly/default.nix +++ b/pkgs/development/python-modules/aioshelly/default.nix @@ -6,6 +6,8 @@ fetchFromGitHub, habluetooth, orjson, + pytest-asyncio, + pytestCheckHook, pythonOlder, setuptools, yarl, @@ -35,8 +37,10 @@ buildPythonPackage rec { yarl ]; - # Project has no test - doCheck = false; + nativeCheckInputs = [ + pytest-asyncio + pytestCheckHook + ]; pythonImportsCheck = [ "aioshelly" ];