Skip to content

Use snapshots for PDF/HTML generation tests #203

@WhyNotHugo

Description

@WhyNotHugo

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions