python3.pkgs.matrix-nio: enable tests
This commit is contained in:
parent
76269d59b3
commit
3f053cf4ab
|
@ -18,6 +18,12 @@
|
||||||
, peewee
|
, peewee
|
||||||
, cachetools
|
, cachetools
|
||||||
, atomicwrites
|
, atomicwrites
|
||||||
|
, pytestCheckHook
|
||||||
|
, faker
|
||||||
|
, aioresponses
|
||||||
|
, hypothesis
|
||||||
|
, pytest-aiohttp
|
||||||
|
, pytest-benchmark
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
|
@ -35,6 +41,7 @@ buildPythonPackage rec {
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
git
|
git
|
||||||
poetry-core
|
poetry-core
|
||||||
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -55,7 +62,20 @@ buildPythonPackage rec {
|
||||||
atomicwrites
|
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; {
|
meta = with lib; {
|
||||||
description = "A Python Matrix client library, designed according to sans I/O principles";
|
description = "A Python Matrix client library, designed according to sans I/O principles";
|
||||||
|
|
Loading…
Reference in a new issue