python.pkgs.junit-xml: simplify tests
This commit is contained in:
parent
484184df34
commit
2f938b3814
|
@ -2,8 +2,7 @@
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, six
|
, six
|
||||||
, pytest
|
, pytestCheckHook
|
||||||
, pytest-sugar
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
|
@ -21,11 +20,7 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
propagatedBuildInputs = [ six ];
|
propagatedBuildInputs = [ six ];
|
||||||
|
|
||||||
checkInputs = [ pytest pytest-sugar ];
|
checkInputs = [ pytestCheckHook ];
|
||||||
|
|
||||||
checkPhase = ''
|
|
||||||
pytest
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Creates JUnit XML test result documents that can be read by tools such as Jenkins";
|
description = "Creates JUnit XML test result documents that can be read by tools such as Jenkins";
|
||||||
|
|
Loading…
Reference in a new issue