Page MenuHomeSoftware Heritage

tests: Simplify git loading tasks creation tests implementation
ClosedPublic

Authored by anlambert on Oct 18 2022, 1:23 PM.

Details

Summary

Use helper fixture loading_task_creation_for_listed_origin_test from
swh-loader-core and remove redundant tests.

Diff Detail

Repository
rDLDG Git loader
Branch
test-tasks-simplify
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 32356
Build 50678: Phabricator diff pipeline on jenkinsJenkins console · Jenkins
Build 50677: arc lint + arc unit

Event Timeline

Build is green

Patch application report for D8698 (id=31411)

Rebasing onto 1fb1011431...

Current branch diff-target is up to date.
Changes applied before test
commit aabdc1a8db680918442bc55121718271dab43128
Author: Antoine Lambert <anlambert@softwareheritage.org>
Date:   Wed Oct 12 17:27:45 2022 +0200

    tests: Simplify git loading tasks creation tests implementation
    
    Use helper fixture loading_task_creation_for_listed_origin_test from
    swh-loader-core and remove redundant tests.

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

Parametrize tests with extra loader aguments

Build is green

Patch application report for D8698 (id=31414)

Rebasing onto 1fb1011431...

Current branch diff-target is up to date.
Changes applied before test
commit 66413a1552f45c634776d2dd7114eb53c866d4f6
Author: Antoine Lambert <anlambert@softwareheritage.org>
Date:   Wed Oct 12 17:27:45 2022 +0200

    tests: Simplify git loading tasks creation tests implementation
    
    Use helper fixture loading_task_creation_for_listed_origin_test from
    swh-loader-core and remove redundant tests.

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

This revision was not accepted when it landed; it landed in state Needs Review.Oct 18 2022, 3:45 PM
This revision was automatically updated to reflect the committed changes.