Page MenuHomeSoftware Heritage

Add basic tests for the provenanceDB and archive abstraction classes
ClosedPublic

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

Diff Detail

Repository
rDPROV Provenance database
Branch
refactorings
Lint
Lint Skipped
Unit
Unit Tests Skipped
Build Status
Buildable 19358
Build 30016: arc lint + arc unit

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.Feb 18 2021, 7:30 PM