diff options
author | Jonathan Ringer <jonringer117@gmail.com> | 2020-08-11 13:43:34 -0700 |
---|---|---|
committer | Jon <jonringer@users.noreply.github.com> | 2020-08-12 09:26:31 -0700 |
commit | 6410d00025dfade9f35ed3bb40d2acc42d66a10a (patch) | |
tree | fc0395a5382659d59a506fa2ce5fd09d708c74ee /pkgs/development/python-modules/cheroot | |
parent | e11d5112226f2f2da5dca8f10a80599095ba222d (diff) | |
download | nixpkgs-6410d00025dfade9f35ed3bb40d2acc42d66a10a.tar nixpkgs-6410d00025dfade9f35ed3bb40d2acc42d66a10a.tar.gz nixpkgs-6410d00025dfade9f35ed3bb40d2acc42d66a10a.tar.bz2 nixpkgs-6410d00025dfade9f35ed3bb40d2acc42d66a10a.tar.lz nixpkgs-6410d00025dfade9f35ed3bb40d2acc42d66a10a.tar.xz nixpkgs-6410d00025dfade9f35ed3bb40d2acc42d66a10a.tar.zst nixpkgs-6410d00025dfade9f35ed3bb40d2acc42d66a10a.zip |
python3Packages.cheroot: fix tests
Diffstat (limited to 'pkgs/development/python-modules/cheroot')
-rw-r--r-- | pkgs/development/python-modules/cheroot/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/cheroot/default.nix b/pkgs/development/python-modules/cheroot/default.nix index d900190a363..6ea7c8dd8ca 100644 --- a/pkgs/development/python-modules/cheroot/default.nix +++ b/pkgs/development/python-modules/cheroot/default.nix @@ -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 |