Page MenuHomeSoftware Heritage

maven: Simplify tests with requests_mock_datadir fixture
ClosedPublic

Authored by anlambert on Nov 14 2022, 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
Branch
maven-simplify-tests
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 32789
Build 51372: Phabricator diff pipeline on jenkinsJenkins console · Jenkins
Build 51371: arc lint + arc unit

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.Nov 14 2022, 5:44 PM