pythonPackages.mock: invoke correct test runner

This commit is contained in:
Frederik Rietdijk 2016-01-23 17:40:24 +01:00
parent 3633eea4d0
commit 8e8f1b14d0

View file

@ -11049,6 +11049,10 @@ in modules // {
buildInputs = with self; [ unittest2 ];
propagatedBuildInputs = with self; [ funcsigs six pbr ];
checkPhase = ''
${python.interpreter} -m unittest discover
'';
meta = {
description = "Mock objects for Python";
homepage = http://python-mock.sourceforge.net/;