Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[junit] move properties handling to finalize() #11369

Merged
merged 3 commits into from
Sep 3, 2023

Conversation

fruch
Copy link
Contributor

@fruch fruch commented Aug 30, 2023

seem like not all the cases of calling finalize were adding the properties into the test case element, which leads to some test cases missing the expected properties.

Fixes: #11367

@fruch fruch force-pushed the fix_11367 branch 2 times, most recently from a095c9d to 86e29ed Compare August 30, 2023 13:47
Copy link
Member

@nicoddemus nicoddemus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @fruch, appreciate the contribution!

changelog/11367.bugfix.rst Outdated Show resolved Hide resolved
fruch and others added 3 commits September 3, 2023 14:07
seem like not all the cases of calling `finalize` were adding
the properties into the test case element, which leads to some
test cases missing the expected properties.

Fixes: pytest-dev#11367
@nicoddemus nicoddemus added the needs backport applied to PRs, indicates that it should be ported to the current bug-fix branch label Sep 3, 2023
@nicoddemus nicoddemus merged commit 917ce9a into pytest-dev:main Sep 3, 2023
25 checks passed
@nicoddemus nicoddemus added backport 7.4.x and removed needs backport applied to PRs, indicates that it should be ported to the current bug-fix branch labels Sep 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[junit] failed test is missing properties if there is error also in teardown
2 participants