Skip to content

Idea: add 'saved docs validate' tests #227

@danielrichman

Description

@danielrichman

I added a basic test to test_uploader since I kept failing validation. It's quite simple; other tests compare the docs that the uploader creates against hardcoded 'expected' docs (via Mox). So I just ran all those hardcoded docs through validation, thereby ensuring that the uploader produces valid docs.
Could add a similar thing to the parser. It tests both the parser and the uploader, and stops us accidentally breaking validation later on after this is deployed.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions