python.pkgs.ics: simplify tests

This commit is contained in:
Robert Schütz 2020-07-07 14:48:09 +02:00 committed by Jon
parent e2786e8e88
commit 91859703cf

View file

@ -1,6 +1,6 @@
{ stdenv, buildPythonPackage, fetchFromGitHub, pythonOlder
, tatsu, arrow
, pytest-sugar, pytestpep8, pytest-flakes, pytestcov
, pytestCheckHook, pytestpep8, pytest-flakes
}:
buildPythonPackage rec {
@ -22,10 +22,7 @@ buildPythonPackage rec {
--replace "arrow>=0.11,<0.15" "arrow"
'';
checkInputs = [ pytest-sugar pytestpep8 pytest-flakes pytestcov ];
checkPhase = ''
pytest
'';
checkInputs = [ pytestCheckHook pytestpep8 pytest-flakes ];
meta = with stdenv.lib; {
description = "Pythonic and easy iCalendar library (RFC 5545)";