python.pkgs.junit-xml: simplify tests

This commit is contained in:
Robert Schütz 2020-07-07 14:30:41 +02:00 committed by Jon
parent 484184df34
commit 2f938b3814

View file

@ -2,8 +2,7 @@
, buildPythonPackage
, fetchFromGitHub
, six
, pytest
, pytest-sugar
, pytestCheckHook
}:
buildPythonPackage rec {
@ -21,11 +20,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [ six ];
checkInputs = [ pytest pytest-sugar ];
checkPhase = ''
pytest
'';
checkInputs = [ pytestCheckHook ];
meta = with lib; {
description = "Creates JUnit XML test result documents that can be read by tools such as Jenkins";