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

[tests] compare_outputs's AssertionError can be massive #1873

Open
zacharyburnett opened this issue Aug 23, 2024 · 2 comments
Open

[tests] compare_outputs's AssertionError can be massive #1873

zacharyburnett opened this issue Aug 23, 2024 · 2 comments

Comments

@zacharyburnett
Copy link
Collaborator

zacharyburnett commented Aug 23, 2024

If the fits diff has a lot of lines, that is all pushed into the AssertionError and printed into the pytest log. This can make the test log thousands of lines long; is it possible to summarize this into a simple line count?

raise AssertionError(os.linesep + creature_report)

https://github.com/spacetelescope/RegressionTests/actions/runs/10514121938/job/29131353758#step:29:37022

@stscijgbot-hstdp
Copy link
Collaborator

This issue is tracked on JIRA as HLA-1316.

@zacharyburnett
Copy link
Collaborator Author

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

No branches or pull requests

2 participants