python3.pkgs.httpretty: only run unit tests
This commit is contained in:
parent
93c3c181fa
commit
c1faf4efd8
@ -12,6 +12,9 @@
|
|||||||
, nose-randomly
|
, nose-randomly
|
||||||
, six
|
, six
|
||||||
, mock
|
, mock
|
||||||
|
, eventlet
|
||||||
|
, pytest
|
||||||
|
, freezegun
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -29,11 +32,15 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
propagatedBuildInputs = [ six ];
|
propagatedBuildInputs = [ six ];
|
||||||
|
|
||||||
checkInputs = [ nose sure coverage mock rednose
|
checkInputs = [ nose sure coverage mock rednose pytest
|
||||||
# Following not declared in setup.py
|
# Following not declared in setup.py
|
||||||
nose-randomly requests tornado httplib2 nose-exclude
|
nose-randomly requests tornado httplib2 nose-exclude freezegun
|
||||||
];
|
];
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
nosetests tests/unit # functional tests cause trouble requiring /etc/protocol
|
||||||
|
'';
|
||||||
|
|
||||||
__darwinAllowLocalNetworking = true;
|
__darwinAllowLocalNetworking = true;
|
||||||
|
|
||||||
# Those flaky tests are failing intermittently on all platforms
|
# Those flaky tests are failing intermittently on all platforms
|
||||||
|
Loading…
x
Reference in New Issue
Block a user