diff options
author | Symphorien Gibol <symphorien+git@xlumurb.eu> | 2021-03-20 18:54:15 +0100 |
---|---|---|
committer | Michael Lingelbach <m.j.lbach@gmail.com> | 2021-05-07 14:26:19 -0700 |
commit | 3f053cf4ab17d498b475e2fd270bd040e3c2ec51 (patch) | |
tree | 786f6edcd862209b975c321c89ee3408ee487175 | |
parent | 76269d59b3eef323bae5b634562db5da011763f2 (diff) |
python3.pkgs.matrix-nio: enable tests
-rw-r--r-- | pkgs/development/python-modules/matrix-nio/default.nix | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/matrix-nio/default.nix b/pkgs/development/python-modules/matrix-nio/default.nix index 8615414f9b8aa..9f10510d243b3 100644 --- a/pkgs/development/python-modules/matrix-nio/default.nix +++ b/pkgs/development/python-modules/matrix-nio/default.nix @@ -18,6 +18,12 @@ , peewee , cachetools , atomicwrites +, pytestCheckHook +, faker +, aioresponses +, hypothesis +, pytest-aiohttp +, pytest-benchmark }: buildPythonPackage rec { @@ -35,6 +41,7 @@ buildPythonPackage rec { nativeBuildInputs = [ git poetry-core + pytestCheckHook ]; propagatedBuildInputs = [ @@ -55,7 +62,20 @@ buildPythonPackage rec { atomicwrites ]; - doCheck = false; + checkInputs = [ + faker + aioresponses + hypothesis + pytest-aiohttp + pytest-benchmark + ]; + + disabledTests = [ + # touches network + "test_connect_wrapper" + # time dependent and flaky + "test_transfer_monitor_callbacks" + ]; meta = with lib; { description = "A Python Matrix client library, designed according to sans I/O principles"; |