Closed musicinmybrain closed 6 months ago
The jrnl project uses pytest_bdd.steps.inject_fixture,
jrnl
pytest_bdd.steps.inject_fixture
https://github.com/jrnl-org/jrnl/blob/2af05e4008b284844a7fe85a3cc308464db5ef7d/tests/lib/when_steps.py#L10
from pytest_bdd.steps import inject_fixture
but this has stopped working between 7.1.1 and 7.1.2:
python -c 'from pytest_bdd.steps import inject_fixture' Traceback (most recent call last): File "<string>", line 1, in <module> ImportError: cannot import name 'inject_fixture' from 'pytest_bdd.steps' (/path/to/venv/_e/lib64/python3.12/site-packages/pytest_bdd/steps.py)
we don’t maintain public support for such functions that are bot mentioned in the docs.
The
jrnl
project usespytest_bdd.steps.inject_fixture
,https://github.com/jrnl-org/jrnl/blob/2af05e4008b284844a7fe85a3cc308464db5ef7d/tests/lib/when_steps.py#L10
but this has stopped working between 7.1.1 and 7.1.2: