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 { 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";