forked from mirrors/nixpkgs
Merge pull request #42667 from xvapx/PR/fix-pythonPackages.flask-restful
pythonPackages.flask-restful: disable broken test
This commit is contained in:
commit
fd68302741
|
@ -17,6 +17,10 @@ buildPythonPackage rec {
|
||||||
patchPhase = if isPy3k then ''
|
patchPhase = if isPy3k then ''
|
||||||
rm tests/test_crypto.py tests/test_paging.py
|
rm tests/test_crypto.py tests/test_paging.py
|
||||||
'' else null;
|
'' else null;
|
||||||
|
# Disable test broken with aniso > 3.0.0, can be removed when updating to a flask-restful version with commit 54979f0
|
||||||
|
preCheck = ''
|
||||||
|
substituteInPlace "./tests/test_inputs.py" --replace "test_bad_isointervals" "disabled_bad_isointervals"
|
||||||
|
'';
|
||||||
buildInputs = [ nose mock blinker ];
|
buildInputs = [ nose mock blinker ];
|
||||||
propagatedBuildInputs = [ flask six pytz aniso8601 pycrypto ];
|
propagatedBuildInputs = [ flask six pytz aniso8601 pycrypto ];
|
||||||
PYTHON_EGG_CACHE = "`pwd`/.egg-cache";
|
PYTHON_EGG_CACHE = "`pwd`/.egg-cache";
|
||||||
|
|
Loading…
Reference in a new issue