Move handling of user_properties to `finalize()`.
Previously if a fixture failed during teardown, `pytest_runtest_logreport` would not be called with "teardown", resulting in the user properties not being saved on the JUnit XML file.
Fixes: #11367
(cherry picked from commit 917ce9aa01)
Co-authored-by: Israel Fruchter <israel.fruchter@gmail.com>
2 lines
115 B
ReStructuredText
2 lines
115 B
ReStructuredText
Fixed bug where `user_properties` where not being saved in the JUnit XML file if a fixture failed during teardown.
|