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 {
pname = "cucumber-tag-expressions";
@ -9,11 +15,14 @@ buildPythonPackage rec {
sha256 = "e314d5fed6eebb2f90380271f562248fb15e18636764faf40f4dde4b28b1f960";
};
checkInputs = [ pytest pytest-html ];
checkPhase = "pytest tests/*/*.py";
checkInputs = [
py
pytestCheckHook
pytest-html
];
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";
license = licenses.mit;
maintainers = with maintainers; [ maxxk ];