diff options
author | Jonathan Ringer <jonringer117@gmail.com> | 2020-11-30 16:11:43 -0800 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2020-12-01 14:44:25 +0100 |
commit | d4f96ddd9d36ad437d2e18cc06aced7ff5b1cf3f (patch) | |
tree | 1d66acad16501d468ba5ce65b187c428b4974b9d | |
parent | eb7aa55e89d54c51988ef73cdb04b49264d73e56 (diff) |
python3Packages.jsonrpc-websocket: fix tests
-rw-r--r-- | pkgs/development/python-modules/jsonrpc-websocket/default.nix | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/jsonrpc-websocket/default.nix b/pkgs/development/python-modules/jsonrpc-websocket/default.nix index 723c170ce7e9..4fe136f69b7b 100644 --- a/pkgs/development/python-modules/jsonrpc-websocket/default.nix +++ b/pkgs/development/python-modules/jsonrpc-websocket/default.nix @@ -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"; |