python3Packages.hahomematic: enable tests
commit77ed160628290075da27b1670781f87857fd65e2
authorFabian Affolter <mail@fabian-affolter.ch>
dateMon 3 Jan 2022, 20:21 (5 years ago)
parent69f136d
pkgs/development/python-modules/hahomematic/default.nix+9−3
@@ -1,7 +1,10 @@
11{ lib
2+, aiohttp
23, buildPythonPackage
34, fetchFromGitHub
4−, aiohttp
5+, pydevccu
6+, pytest-aiohttp
7+, pytestCheckHook
58, pythonOlder
69, voluptuous
710, websocket-client
@@ -27,8 +30,11 @@ buildPythonPackage rec {
2730 voluptuous
2831 ];
2932
30− # Module has no tests
31− doCheck = false;
33+ checkInputs = [
34+ pydevccu
35+ pytest-aiohttp
36+ pytestCheckHook
37+ ];
3238
3339 pythonImportsCheck = [
3440 "hahomematic"