pythonPackages.async-upnp-client: fix test execution

This commit is contained in:
Sandro Jäckel 2021-03-09 10:23:35 +01:00
parent 4ccfb8b0ad
commit 421dc8f424
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5
2 changed files with 5 additions and 3 deletions

View file

@ -1,6 +1,6 @@
{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder
, voluptuous, aiohttp, async-timeout, python-didl-lite, defusedxml
, pytest_6, pytest-asyncio }:
, pytestCheckHook, pytest-asyncio }:
buildPythonPackage rec {
pname = "async-upnp-client";
@ -23,7 +23,7 @@ buildPythonPackage rec {
];
checkInputs = [
pytest_6
pytestCheckHook
pytest-asyncio
];

View file

@ -526,7 +526,9 @@ in {
async-timeout = callPackage ../development/python-modules/async_timeout { };
async-upnp-client = callPackage ../development/python-modules/async-upnp-client { };
async-upnp-client = callPackage ../development/python-modules/async-upnp-client {
pytestCheckHook = self.pytestCheckHook.override { pytest = self.pytest_6_1; };
};
asyncwhois = callPackage ../development/python-modules/asyncwhois { };