python.pkgs.requests_toolbelt: disable tests that access network
This commit is contained in:
parent
3c20d3c806
commit
a9c8616ce9
@ -20,7 +20,10 @@ buildPythonPackage rec {
|
|||||||
propagatedBuildInputs = [ requests ];
|
propagatedBuildInputs = [ requests ];
|
||||||
|
|
||||||
checkPhase = ''
|
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 = {
|
meta = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user