python3Packages.cucumber-tag-expressions: Fix tests

This commit is contained in:
Martin Weinelt 2023-01-02 21:56:42 +01:00
parent 4244d1bd35
commit 9f4bff5a35

View File

@ -1,4 +1,10 @@
{ lib, fetchPypi, buildPythonPackage, pytest, pytest-html }: { lib
, fetchPypi
, buildPythonPackage
, py
, pytestCheckHook
, pytest-html
}:
buildPythonPackage rec { buildPythonPackage rec {
pname = "cucumber-tag-expressions"; pname = "cucumber-tag-expressions";
@ -9,11 +15,14 @@ buildPythonPackage rec {
sha256 = "e314d5fed6eebb2f90380271f562248fb15e18636764faf40f4dde4b28b1f960"; sha256 = "e314d5fed6eebb2f90380271f562248fb15e18636764faf40f4dde4b28b1f960";
}; };
checkInputs = [ pytest pytest-html ]; checkInputs = [
checkPhase = "pytest tests/*/*.py"; py
pytestCheckHook
pytest-html
];
meta = with lib; { meta = with lib; {
homepage = "https://github.com/cucumber/tag-expressions-python"; homepage = "https://github.com/cucumber/tag-expressions";
description = "Provides tag-expression parser for cucumber/behave"; description = "Provides tag-expression parser for cucumber/behave";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ maxxk ]; maintainers = with maintainers; [ maxxk ];