Page MenuHomeSoftware Heritage

test_cookers: Turn git_loader into a pytest fixture
ClosedPublic

Authored by anlambert on Oct 2 2020, 8:56 PM.

Details

Summary

It enables to remove some code duplication related to git loader creation
when executing tests.

Diff Detail

Repository
rDVAU Software Heritage Vault
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Build is green

Patch application report for D4135 (id=14580)

Rebasing onto 7af35ae919...

Current branch diff-target is up to date.
Changes applied before test
commit a8fa57718b694d8c50e166910a5ed9549fc5a246
Author: Antoine Lambert <antoine.lambert@inria.fr>
Date:   Fri Oct 2 20:52:26 2020 +0200

    test_cookers: Turn git_loader into a pytest fixture
    
    It enables to remove some code duplication related to git loader creation
    when executing tests.

See https://jenkins.softwareheritage.org/job/DVAU/job/tests-on-diff/19/ for more details.

This revision is now accepted and ready to land.Oct 3 2020, 6:15 PM