Page MenuHomeSoftware Heritage

maven: Simplify tests with requests_mock_datadir fixture
ClosedPublic

Authored by anlambert on Mon, Nov 14, 4:14 PM.

Details

Summary

Use mocked network requests to get jar and pom files instead of
reading them from the datadir directory.

Diff Detail

Repository
rDLDBASE Generic VCS/Package Loader
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 D8839 (id=31853)

Rebasing onto bf2cb039d5...

Current branch diff-target is up to date.
Changes applied before test
commit 5778cfce008af543c566197f0c229637bceac287
Author: Antoine Lambert <anlambert@softwareheritage.org>
Date:   Mon Nov 14 16:12:12 2022 +0100

    maven: Simplify tests with requests_mock_datadir fixture
    
    Use mocked network requests to get jar and pom files instead of
    reading them from the datadir directory.

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

This revision is now accepted and ready to land.Mon, Nov 14, 5:44 PM