Merge pull request #70073 from jonringer/fix-supervisor

pythonPackages.supervisor: fix tests
This commit is contained in:
Jon 2019-09-30 13:47:44 -07:00 committed by GitHub
commit 75877766b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 ];