Skip to content

Commit

Permalink
pythonPackages.supervisor: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Ringer committed Sep 30, 2019
1 parent 98ddcfe commit 5d761d9
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions pkgs/development/python-modules/supervisor/default.nix
@@ -1,6 +1,7 @@
{ lib, buildPythonPackage, isPy3k, fetchPypi
{ stdenv, lib, buildPythonPackage, isPy3k, fetchPypi
, mock
, meld3
, pytest
, setuptools
}:

Expand All @@ -13,7 +14,13 @@ buildPythonPackage rec {
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 ];

Expand Down

0 comments on commit 5d761d9

Please sign in to comment.