Page MenuHomeSoftware Heritage

common/archive: Fix origin metadata functions after indexer API changes
ClosedPublic

Authored by anlambert on Oct 29 2020, 2:53 PM.

Details

Summary

Those breaking changes were missed as related tests use mocking.

Also improve the tests by removing mocking as much as possible.

Closes T2739

Diff Detail

Repository
rDWAPPS Web applications
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 D4380 (id=15492)

Rebasing onto 3ffeb396fa...

Current branch diff-target is up to date.
Changes applied before test
commit c72a6ba7381fbcd6d59372b2462bd13af5b970ac
Author: Antoine Lambert <antoine.lambert@inria.fr>
Date:   Thu Oct 29 14:49:55 2020 +0100

    common/archive: Fix origin metadata functions after indexer API changes
    
    Also improve related tests by removing mocking as much as possible.
    
    Closes T2739

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

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