pythonPackages.fasteners: fix test runner

This commit is contained in:
Frederik Rietdijk 2016-01-23 21:32:23 +01:00
parent c882af9cf3
commit 945872dc19

View File

@ -13649,7 +13649,14 @@ in modules // {
sha256 = "0nghdq3zihiqg10dp76ls7yn44m5wjncyz7fk8isagkrspkh9a3n";
};
propagatedBuildInputs = with self; [ six monotonic ];
propagatedBuildInputs = with self; [ six monotonic testtools ];
checkPhase = ''
${python.interpreter} -m unittest discover
'';
# Tests are written for Python 3.x only (concurrent.futures)
doCheck = isPy3k;
meta = with stdenv.lib; {
description = "Fasteners";