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 ];
|
buildInputs = with self; [ unittest2 ];
|
||||||
propagatedBuildInputs = with self; [ funcsigs six pbr ];
|
propagatedBuildInputs = with self; [ funcsigs six pbr ];
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
${python.interpreter} -m unittest discover
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Mock objects for Python";
|
description = "Mock objects for Python";
|
||||||
homepage = http://python-mock.sourceforge.net/;
|
homepage = http://python-mock.sourceforge.net/;
|
||||||
|
|
Loading…
Reference in New Issue