WhyNotHugo/django-afip

Use snapshots for PDF/HTML generation tests

Opened this issue · 0 comments

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