forked from mirrors/nixpkgs
pythonPackages.mock: invoke correct test runner
This commit is contained in:
parent
3633eea4d0
commit
8e8f1b14d0
|
@ -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/;
|
||||
|
|
Loading…
Reference in a new issue