python3Packages.cheroot: fix tests

This commit is contained in:
Jonathan Ringer 2020-08-11 13:43:34 -07:00 committed by Jon
parent e11d511222
commit 6410d00025

View File

@ -8,6 +8,7 @@
, pytest-mock
, pytest-testmon
, requests
, requests-toolbelt
, requests-unixsocket
, setuptools_scm
, setuptools-scm-git-archive
@ -39,10 +40,15 @@ buildPythonPackage rec {
pytest-mock
pytest-testmon
requests
requests-toolbelt
requests-unixsocket
trustme
];
# avoid attempting to use 3 packages not available on nixpkgs
# (jaraco.apt, jaraco.context, yg.lockfile)
pytestFlagsArray = [ "--ignore=cheroot/test/test_wsgi.py" ];
# Disable doctest plugin because times out
# Disable xdist (-n arg) because it's incompatible with testmon
# Deselect test_bind_addr_unix on darwin because times out