python3Packages.jsonrpc-websocket: fix tests

This commit is contained in:
Jonathan Ringer 2020-11-30 16:11:43 -08:00 committed by Frederik Rietdijk
parent eb7aa55e89
commit d4f96ddd9d

View file

@ -1,5 +1,8 @@
{ stdenv, buildPythonPackage, fetchPypi
, aiohttp, jsonrpc-base, pep8 }:
, aiohttp, jsonrpc-base, pep8
, pytestCheckHook
, pytest-asyncio
}:
buildPythonPackage rec {
pname = "jsonrpc-websocket";
@ -14,6 +17,9 @@ buildPythonPackage rec {
propagatedBuildInputs = [ aiohttp jsonrpc-base ];
checkInputs = [ pytestCheckHook pytest-asyncio ];
pytestFlagsArray = [ "tests.py" ];
meta = with stdenv.lib; {
description = "A JSON-RPC websocket client library for asyncio";
homepage = "https://github.com/armills/jsonrpc-websocket";