FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix(pytest): can't change a fixture's title in pytest 8.4 or later by delatrie · Pull Request #866 · allure-framework/allure-python · GitHub

fix(pytest): can't change a fixture's title in pytest 8.4 or later - #866

Merged
delatrie merged 1 commit into
masterfrom
pytest-8.4-fixture-title-compat-fix
Jun 9, 2025
Merged

fix(pytest): can't change a fixture's title in pytest 8.4 or later#866
delatrie merged 1 commit into
masterfrom
pytest-8.4-fixture-title-compat-fix

Conversation

delatrie commented Jun 9, 2025

Copy link
Copy Markdown
Contributor

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 added theme:pytest type:bug Pull requests that fix bugs labels Jun 9, 2025
delatrie force-pushed the pytest-8.4-fixture-title-compat-fix branch from 00de7a9 to e027adc Compare June 9, 2025 14:14
delatrie merged commit 9d12890 into master Jun 9, 2025
delatrie deleted the pytest-8.4-fixture-title-compat-fix branch June 9, 2025 14:20
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL