HomeSoftware Heritage

Migrate loader tests to use pytest

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

Migrate loader tests to use pytest

This simplifies the base classes indirection introduced to make the tests run.

It keeps the unittest scaffolding to allow declaring tests once and reuse
amongst the different loader instances (GitLoader, GitLoaderFromDisk,
GitLoaderFromArchive).

The code coverage increased from 82% to 85%.

Related to T2482

Details

Provenance
ardumontAuthored on Jul 6 2020, 12:41 PM
ardumontPushed on Jul 6 2020, 4:30 PM
Differential Revision
D3428: Migrate loader tests to use pytest
Tasks
T2482: Migrate git loader tests code to pytest
Build Status
Buildable 13378
Build 20452: test-and-buildJenkins console · Jenkins

Commit No Longer Exists

This commit no longer exists in the repository.