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

refactor: stop overwriting pytest data #597

Conversation

BeyondEvil
Copy link
Contributor

Previously we were overwriting some of the attributes coming out of pytest (like nodeid) and since this data is shared with other plugins, that's a bad idea.

This PR aims to fix that.

@BeyondEvil BeyondEvil force-pushed the beyondevil/move-test-data-from-top-level branch 2 times, most recently from 48d9f86 to d3db0bc Compare March 18, 2023 01:27
Copy link
Member

@RonnyPfannschmidt RonnyPfannschmidt left a comment

Choose a reason for hiding this comment

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

is there any reason for report to use dictly typing?

as for updates to the serialized report details, it may make sense to add a new attribute to the actual report and only serializing iz atthe end

@BeyondEvil BeyondEvil force-pushed the beyondevil/move-test-data-from-top-level branch from 3626771 to aac5532 Compare March 18, 2023 21:11
@BeyondEvil BeyondEvil merged commit 6eff86d into pytest-dev:next-gen Mar 18, 2023
@BeyondEvil BeyondEvil deleted the beyondevil/move-test-data-from-top-level branch March 18, 2023 22:08
BeyondEvil added a commit to BeyondEvil/pytest-html that referenced this pull request Apr 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.

2 participants