1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 22:20:51 +00:00

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-mock
, pytest-testmon , pytest-testmon
, requests , requests
, requests-toolbelt
, requests-unixsocket , requests-unixsocket
, setuptools_scm , setuptools_scm
, setuptools-scm-git-archive , setuptools-scm-git-archive
@ -39,10 +40,15 @@ buildPythonPackage rec {
pytest-mock pytest-mock
pytest-testmon pytest-testmon
requests requests
requests-toolbelt
requests-unixsocket requests-unixsocket
trustme 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 doctest plugin because times out
# Disable xdist (-n arg) because it's incompatible with testmon # Disable xdist (-n arg) because it's incompatible with testmon
# Deselect test_bind_addr_unix on darwin because times out # Deselect test_bind_addr_unix on darwin because times out