Page MenuHomeSoftware Heritage

vault: Fix tests data initialization after git loader api changes
ClosedPublic

Authored by ardumont on Dec 9 2019, 4:22 PM.

Details

Summary

Note:
Build expected to fail for now (need to tag swh-loader-git)

Related to D2400
Related to T2134

Test Plan

tox

Diff Detail

Repository
rDVAU Software Heritage Vault
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 9614
Build 14158: tox-on-jenkinsJenkins
Build 14157: arc lint + arc unit

Event Timeline

anlambert added a subscriber: anlambert.

Looks good to me !

swh/vault/tests/test_cookers.py
189–190

Maybe you can write

git_loader(swh_storage, str(rp)).load()

to gain a couple of lines, but that's pure nitpicking.

This revision is now accepted and ready to land.Dec 9 2019, 5:33 PM