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
|
{ lib
|
||||||
|
, aioresponses
|
||||||
, async-upnp-client
|
, async-upnp-client
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, lxml
|
, lxml
|
||||||
|
, pytestCheckHook
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -25,14 +27,19 @@ buildPythonPackage rec {
|
||||||
lxml
|
lxml
|
||||||
];
|
];
|
||||||
|
|
||||||
# Tests are currently outdated
|
nativeCheckInputs = [
|
||||||
# https://github.com/bazwilliams/openhomedevice/issues/20
|
aioresponses
|
||||||
doCheck = false;
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [
|
||||||
"openhomedevice"
|
"openhomedevice"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
pytestFlagsArray = [
|
||||||
|
"tests/*.py"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Python module to access Linn Ds and Openhome devices";
|
description = "Python module to access Linn Ds and Openhome devices";
|
||||||
homepage = "https://github.com/bazwilliams/openhomedevice";
|
homepage = "https://github.com/bazwilliams/openhomedevice";
|
||||||
|
|
Loading…
Reference in a new issue