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

Use snapshots for PDF/HTML generation tests #203

Open
WhyNotHugo opened this issue Sep 27, 2023 · 0 comments
Open

Use snapshots for PDF/HTML generation tests #203

WhyNotHugo opened this issue Sep 27, 2023 · 0 comments

Comments

@WhyNotHugo
Copy link
Owner

We currently have a copy of the entire expected HTML in the test code, and this is a pain to updated when changes happen.

Try using something like syrupy instead: https://til.simonwillison.net/pytest/syrupy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant