pythonPackages.clize: fix tests

This commit is contained in:
Jonathan Ringer 2019-12-22 15:39:00 -08:00 committed by Frederik Rietdijk
parent fddccdd834
commit 8f9348d6ca

View File

@ -8,8 +8,9 @@
, od , od
, docutils , docutils
, repeated_test , repeated_test
, unittest2
, pygments , pygments
, unittest2
, pytest
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -26,6 +27,7 @@ buildPythonPackage rec {
pygments pygments
repeated_test repeated_test
unittest2 unittest2
pytest
]; ];
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -36,6 +38,10 @@ buildPythonPackage rec {
six six
]; ];
checkPhase = ''
pytest
'';
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Command-line argument parsing for Python"; description = "Command-line argument parsing for Python";
homepage = "https://github.com/epsy/clize"; homepage = "https://github.com/epsy/clize";