Merge pull request #147346 from fabaff/fix-rokuecp

python3Packages.rokuecp: disable failing test
This commit is contained in:
Fabian Affolter 2021-11-25 15:09:12 +01:00 committed by GitHub
commit a0fe71b0b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,12 +1,13 @@
{ lib
, aiohttp
, aresponses
, buildPythonPackage
, fetchFromGitHub
, aiohttp
, xmltodict
, yarl
, aresponses
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, xmltodict
, yarl
}:
buildPythonPackage rec {
@ -14,6 +15,8 @@ buildPythonPackage rec {
version = "0.8.4";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "ctalkington";
repo = "python-rokuecp";
@ -33,6 +36,11 @@ buildPythonPackage rec {
pytest-asyncio
];
disabledTests = [
# https://github.com/ctalkington/python-rokuecp/issues/249
"test_resolve_hostname"
];
pythonImportsCheck = [
"rokuecp"
];
@ -41,6 +49,6 @@ buildPythonPackage rec {
description = "Asynchronous Python client for Roku (ECP)";
homepage = "https://github.com/ctalkington/python-rokuecp";
license = licenses.mit;
maintainers = with maintainers; [ ];
maintainers = with maintainers; [ fab ];
};
}