Merge pull request #70073 from jonringer/fix-supervisor
pythonPackages.supervisor: fix tests
This commit is contained in:
commit
75877766b3
@ -1,6 +1,7 @@
|
|||||||
{ lib, buildPythonPackage, isPy3k, fetchPypi
|
{ stdenv, lib, buildPythonPackage, isPy3k, fetchPypi
|
||||||
, mock
|
, mock
|
||||||
, meld3
|
, meld3
|
||||||
|
, pytest
|
||||||
, setuptools
|
, setuptools
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -13,7 +14,13 @@ buildPythonPackage rec {
|
|||||||
sha256 = "02pindhq84hb9a7ykyaqw8i2iqb21h69lpmclyqh7fm1446rji4n";
|
sha256 = "02pindhq84hb9a7ykyaqw8i2iqb21h69lpmclyqh7fm1446rji4n";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ mock ];
|
# wants to write to /tmp/foo which is likely already owned by another
|
||||||
|
# nixbld user on hydra
|
||||||
|
doCheck = !stdenv.isDarwin;
|
||||||
|
checkInputs = [ mock pytest ];
|
||||||
|
checkPhase = ''
|
||||||
|
pytest
|
||||||
|
'';
|
||||||
|
|
||||||
propagatedBuildInputs = [ meld3 setuptools ];
|
propagatedBuildInputs = [ meld3 setuptools ];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user