HomeSoftware Heritage

Make ArchiveStorage() accept a StorageInterface object as argument

Description

Make ArchiveStorage() accept a StorageInterface object as argument

instead of the parameters to pass to the get_storage() factory function.
This will help for writing tests, since the storage is usually
instanciated by a pytest fixture.

Details

Provenance
douarddaAuthored on Feb 17 2021, 5:16 PM
douarddaPushed on Feb 19 2021, 10:01 AM
Differential Revision
D5099: Make ArchiveStorage() accept a StorageInterface object as argument
Parents
rDPROV7b12ed0b3726: Add basic tests for the provenanceDB and archive abstraction classes
Branches
Unknown
Tags
Unknown