Skip to content

fix: Report fails to render with pytest-xdist (3) #593

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

Closed

Conversation

BeyondEvil
Copy link
Contributor

See #591 for a detailed explanation.

This is proposed solution 3.

@BeyondEvil BeyondEvil changed the title fix: Report fails to render with pytest-xdist fix: Report fails to render with pytest-xdist (3) Mar 10, 2023
@@ -243,6 +243,9 @@ def pytest_runtest_logreport(self, report):
config=self._config, report=report
)

if "node" in data:
data["node"] = str(data["node"])
Copy link
Member

Choose a reason for hiding this comment

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

i would like to recommend putting something like

{"gateway": { "id" : node.gateway.id, "spec": node.gateway.spec}}

but its perhaps best to upstream that asap

until then the str is probably fine

@BeyondEvil
Copy link
Contributor Author

Fixed by: #598

@BeyondEvil BeyondEvil closed this Mar 19, 2023
@BeyondEvil BeyondEvil deleted the beyondevil/fix-xdist-3 branch March 19, 2023 17:58
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.

3 participants