HomeSoftware Heritage

tests: Separate lister instantiations

Description

tests: Separate lister instantiations

Prior to this commit, all listers were instantiated at the same time even if
only one was needed. This commit separates those instantiations.

The only drawback to this is the db model initialization which now happens at
each lister instantiation. This can be dealt with if needed at another time
though.

Details

Provenance
ardumontAuthored on Sep 2 2020, 9:47 AM
ardumontPushed on Sep 2 2020, 1:13 PM
Differential Revision
D3860: tests: Separate lister instantiations
Parents
rDLS92422dcf754d: pytest_plugin: Instantiate only lister with no particular setup
Branches
Unknown
Tags
Unknown
Build Status
Buildable 14875
Build 22918: test-and-buildJenkins console · Jenkins