HomeSoftware Heritage

tests: Add module to generate relevant data as tests input
4c25aa387f5fUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.
This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

tests: Add module to generate relevant data as tests input

In order to avoid harcoding tests input data and get closer to real world ones,
populate a test archive by loading in it a couple of lightweight git repositories.

The ids of the objects in this test archive (contents, directories, revisions, ...)
will then be provided as tests input in order to retrieve their associated data
from the in-memory storages. Proceeding like this will allow us to remove a
lot of mocks in the tests implementation.

Related T1271

Details

Provenance
anlambertAuthored on Dec 14 2018, 5:53 PM
anlambertPushed on Dec 17 2018, 4:34 PM
Differential Revision
D825: Add module to generate relevant data as tests input

Commit No Longer Exists

This commit no longer exists in the repository.