mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-24 01:21:11 +00:00
python3Packages.ha-iotawattpy: enable tests
This commit is contained in:
@@ -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" ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user