python3Packages.nessclient: enable tests
commit6ba4962a152132e41e8ae13c0e334f8a799ca5a8
authorFabian Affolter <mail@fabian-affolter.ch>
dateSat 20 Nov 2021, 13:13 (5 years ago)
parent111b9e5
pkgs/development/python-modules/nessclient/default.nix+9−3
@@ -1,9 +1,12 @@
11{ lib
2+, asynctest
23, buildPythonPackage
34, click
45, fetchFromGitHub
56, justbackoff
67, pythonOlder
8+, pytest-asyncio
9+, pytestCheckHook
710}:
811
912buildPythonPackage rec {
@@ -25,15 +28,18 @@ buildPythonPackage rec {
2528 click
2629 ];
2730
28− # Tests are not shipped
29− doCheck = false;
31+ checkInputs = [
32+ asynctest
33+ pytest-asyncio
34+ pytestCheckHook
35+ ];
3036
3137 pythonImportsCheck = [
3238 "nessclient"
3339 ];
3440
3541 meta = with lib; {
36− description = "Python implementation/abstraction of the Ness D8x / D16x Serial Interface ASCII protocol";
42+ description = "Python implementation/abstraction of the Ness D8x/D16x Serial Interface ASCII protocol";
3743 homepage = "https://github.com/nickw444/nessclient";
3844 license = with licenses; [ mit ];
3945 maintainers = with maintainers; [ fab ];