Skip to content

Conversation

delatrie
Copy link
Contributor

@delatrie delatrie commented Jun 9, 2025

Context

Starting from pytest 8.4, fixtures are represented as instances of the _pytest.fixtures.FixtureFunctionDefinition class. See pytest-dev/pytest#12473 for more details.

This PR adapts Allure Pytest to take this into account when attaching a custom name to a function using the @allure.title decorator.

@delatrie delatrie added theme:pytest type:bug Pull requests that fix bugs labels Jun 9, 2025
@delatrie delatrie force-pushed the pytest-8.4-fixture-title-compat-fix branch from 00de7a9 to e027adc Compare June 9, 2025 14:14
@delatrie delatrie merged commit 9d12890 into master Jun 9, 2025
20 checks passed
@delatrie delatrie deleted the pytest-8.4-fixture-title-compat-fix branch June 9, 2025 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme:pytest type:bug Pull requests that fix bugs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants