python311Packages.openhomedevice: enable tests
This commit is contained in:
parent
4bc3590c03
commit
d86f79a17d
1 changed files with 10 additions and 3 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue