python3Packages.jsonrpc-websocket: fix tests
This commit is contained in:
parent
eb7aa55e89
commit
d4f96ddd9d
|
@ -1,5 +1,8 @@
|
||||||
{ stdenv, buildPythonPackage, fetchPypi
|
{ stdenv, buildPythonPackage, fetchPypi
|
||||||
, aiohttp, jsonrpc-base, pep8 }:
|
, aiohttp, jsonrpc-base, pep8
|
||||||
|
, pytestCheckHook
|
||||||
|
, pytest-asyncio
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "jsonrpc-websocket";
|
pname = "jsonrpc-websocket";
|
||||||
|
@ -14,6 +17,9 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
propagatedBuildInputs = [ aiohttp jsonrpc-base ];
|
propagatedBuildInputs = [ aiohttp jsonrpc-base ];
|
||||||
|
|
||||||
|
checkInputs = [ pytestCheckHook pytest-asyncio ];
|
||||||
|
pytestFlagsArray = [ "tests.py" ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A JSON-RPC websocket client library for asyncio";
|
description = "A JSON-RPC websocket client library for asyncio";
|
||||||
homepage = "https://github.com/armills/jsonrpc-websocket";
|
homepage = "https://github.com/armills/jsonrpc-websocket";
|
||||||
|
|
Loading…
Reference in a new issue