pythonPackages.clize: fix tests

This commit is contained in:
Jonathan Ringer
2019-12-30 16:46:52 +01:00
committed by Frederik Rietdijk
parent fddccdd834
commit 8f9348d6ca
@@ -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";