swh-lister/swh/lister
Antoine R. Dumont (@ardumont) 5a5b7ef70b
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.
2020-09-02 12:49:00 +02:00
..
bitbucket tests: Separate lister instantiations 2020-09-02 12:49:00 +02:00
cgit tests: Separate lister instantiations 2020-09-02 12:49:00 +02:00
core pytest: Define plugin and declare it in the root conftest 2020-09-02 12:25:15 +02:00
cran tests: Separate lister instantiations 2020-09-02 12:49:00 +02:00
debian tests: Separate lister instantiations 2020-09-02 12:49:00 +02:00
gitea tests: Separate lister instantiations 2020-09-02 12:49:00 +02:00
github tests: Separate lister instantiations 2020-09-02 12:49:00 +02:00
gitlab tests: Separate lister instantiations 2020-09-02 12:49:00 +02:00
gnu tests: Separate lister instantiations 2020-09-02 12:49:00 +02:00
launchpad pytest: Define plugin and declare it in the root conftest 2020-09-02 12:25:15 +02:00
npm tests: Separate lister instantiations 2020-09-02 12:49:00 +02:00
packagist tests: Separate lister instantiations 2020-09-02 12:49:00 +02:00
phabricator tests: Separate lister instantiations 2020-09-02 12:49:00 +02:00
pypi tests: Separate lister instantiations 2020-09-02 12:49:00 +02:00
tests tests: Separate lister instantiations 2020-09-02 12:49:00 +02:00
__init__.py Enable black 2020-04-08 16:31:22 +02:00
cli.py Enable black 2020-04-08 16:31:22 +02:00
py.typed typing: minimal changes to make a no-op mypy run pass 2019-10-28 15:35:21 +01:00
pytest_plugin.py tests: Separate lister instantiations 2020-09-02 12:49:00 +02:00
utils.py gitlab.lister: Simplify retrieving headers information 2018-07-16 13:57:34 +02:00