3
0
Fork 0
forked from mirrors/nixpkgs

python.pkgs.requests_toolbelt: disable tests that access network

This commit is contained in:
Robert Schütz 2019-02-14 14:08:13 +01:00 committed by Frederik Rietdijk
parent 3c20d3c806
commit a9c8616ce9

View file

@ -20,7 +20,10 @@ buildPythonPackage rec {
propagatedBuildInputs = [ requests ];
checkPhase = ''
py.test tests
# disabled tests access the network
py.test tests -k "not test_no_content_length_header \
and not test_read_file \
and not test_reads_file_from_url_wrapper"
'';
meta = {