python3Packages.jsonrpc-websocket: fix tests
This commit is contained in:
parent
eb7aa55e89
commit
d4f96ddd9d
@ -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";
|
||||
|
Loading…
x
Reference in New Issue
Block a user