python311Packages.openhomedevice: enable tests

This commit is contained in:
Fabian Affolter 2023-06-14 23:58:23 +02:00
parent 4bc3590c03
commit d86f79a17d

View file

@ -1,8 +1,10 @@
{ lib
, aioresponses
, async-upnp-client
, buildPythonPackage
, fetchFromGitHub
, lxml
, pytestCheckHook
, pythonOlder
}:
@ -25,14 +27,19 @@ buildPythonPackage rec {
lxml
];
# Tests are currently outdated
# https://github.com/bazwilliams/openhomedevice/issues/20
doCheck = false;
nativeCheckInputs = [
aioresponses
pytestCheckHook
];
pythonImportsCheck = [
"openhomedevice"
];
pytestFlagsArray = [
"tests/*.py"
];
meta = with lib; {
description = "Python module to access Linn Ds and Openhome devices";
homepage = "https://github.com/bazwilliams/openhomedevice";