python.pkgs.ddt: fix tests

This commit is contained in:
Robert Schütz 2018-11-25 12:57:31 +01:00 committed by Frederik Rietdijk
parent f5d60b80b8
commit 3db122cd9f

View File

@ -1,6 +1,7 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, nose, six, pyyaml, mock
}:
buildPythonPackage rec {
@ -12,6 +13,12 @@ buildPythonPackage rec {
sha256 = "898364fc34b27981b925171a0011c174c94633cb678eb1fac05fe7a234c7912c";
};
checkInputs = [ nose six pyyaml mock ];
checkPhase = ''
nosetests -s
'';
meta = with stdenv.lib; {
description = "Data-Driven/Decorated Tests, a library to multiply test cases";
homepage = https://github.com/txels/ddt;