pythonPackages.cheroot: Use disabledTestFiles
This commit is contained in:
parent
6f7f01a244
commit
a93ea0fbd7
@ -1,4 +1,8 @@
|
|||||||
{ lib, stdenv, fetchPypi, buildPythonPackage, isPy3k
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchPypi
|
||||||
|
, buildPythonPackage
|
||||||
|
, isPy3k
|
||||||
, jaraco_functools
|
, jaraco_functools
|
||||||
, jaraco_text
|
, jaraco_text
|
||||||
, more-itertools
|
, more-itertools
|
||||||
@ -33,7 +37,8 @@ buildPythonPackage rec {
|
|||||||
# install_requires
|
# install_requires
|
||||||
jaraco_functools
|
jaraco_functools
|
||||||
|
|
||||||
more-itertools six
|
more-itertools
|
||||||
|
six
|
||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
@ -49,10 +54,6 @@ buildPythonPackage rec {
|
|||||||
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
|
||||||
@ -72,6 +73,12 @@ buildPythonPackage rec {
|
|||||||
"bind_addr_unix"
|
"bind_addr_unix"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
disabledTestFiles = [
|
||||||
|
# avoid attempting to use 3 packages not available on nixpkgs
|
||||||
|
# (jaraco.apt, jaraco.context, yg.lockfile)
|
||||||
|
"cheroot/test/test_wsgi.py"
|
||||||
|
];
|
||||||
|
|
||||||
# Some of the tests use localhost networking.
|
# Some of the tests use localhost networking.
|
||||||
__darwinAllowLocalNetworking = true;
|
__darwinAllowLocalNetworking = true;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user