Page MenuHomeSoftware Heritage

Add basic tests for the provenanceDB and archive abstraction classes

Authored by douardda on Wed, Feb 17, 5:36 PM.

Diff Detail

R222 Provenance database
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

douardda created this revision.

I don't really understand what's going on here, so there is no much I can review.

The swh_storage_with_objects fixtures returns a (postgresal-based) storage with some objects in it (only a few of each type). The test that given storage do indeed have at least a content, a directory and a revision. I'll improve the commit message a bit.

Rebase + better commit message + add a docstring

This revision is now accepted and ready to land.Thu, Feb 18, 7:30 PM