pythonPackages.pytest-lazy-fixture: use pytestCheckHook

This commit is contained in:
Dmitry Kalinkin 2020-02-27 12:49:44 -05:00
parent 5ddadce27b
commit 4b65f859c9
No known key found for this signature in database
GPG Key ID: 5157B3EC8B2CA333

View File

@ -1,7 +1,7 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, pytest , pytestCheckHook
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -14,13 +14,9 @@ buildPythonPackage rec {
}; };
checkInputs = [ checkInputs = [
pytest pytestCheckHook
]; ];
checkPhase = ''
pytest
'';
meta = with lib; { meta = with lib; {
description = "Helps to use fixtures in pytest.mark.parametrize"; description = "Helps to use fixtures in pytest.mark.parametrize";
homepage = "https://github.com/pytest-dev/pytest-repeat"; homepage = "https://github.com/pytest-dev/pytest-repeat";