From 77ed160628290075da27b1670781f87857fd65e2 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 3 Jan 2022 20:21:21 +0100 Subject: [PATCH] python3Packages.hahomematic: enable tests --- .../python-modules/hahomematic/default.nix | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/hahomematic/default.nix b/pkgs/development/python-modules/hahomematic/default.nix index 9422fb4df16c..9cb116a9a7a2 100644 --- a/pkgs/development/python-modules/hahomematic/default.nix +++ b/pkgs/development/python-modules/hahomematic/default.nix @@ -1,7 +1,10 @@ { lib +, aiohttp , buildPythonPackage , fetchFromGitHub -, aiohttp +, pydevccu +, pytest-aiohttp +, pytestCheckHook , pythonOlder , voluptuous , websocket-client @@ -27,8 +30,11 @@ buildPythonPackage rec { voluptuous ]; - # Module has no tests - doCheck = false; + checkInputs = [ + pydevccu + pytest-aiohttp + pytestCheckHook + ]; pythonImportsCheck = [ "hahomematic"