python3Packages.ha-iotawattpy: enable tests

This commit is contained in:
Sigmanificient
2026-07-22 00:40:01 +02:00
parent cff095b254
commit eeb486f363

View File

@@ -4,6 +4,7 @@
fetchPypi,
httpx,
setuptools,
pytestCheckHook,
}:
buildPythonPackage rec {
@@ -20,9 +21,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [ httpx ];
# Project doesn't tag releases or ship the tests with PyPI
# https://github.com/gtdiehl/iotawattpy/issues/14
doCheck = false;
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "iotawattpy" ];