Page MenuHomeSoftware Heritage

test_task: Mark it to be ignore during debian build
ClosedPublic

Authored by ardumont on May 7 2020, 3:31 PM.

Details

Summary
  • Add pytest.mark.db
  • test_tasks: Unify mocking using pytest-mock fixture
  • test: Add checks scenario test cases

Mainly to ensure coverage increase.
Hopefully, this also helps the debian build (with the pytest.mark.db...)

Test Plan

tox

Diff Detail

Repository
rDDEP Push deposit
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 12309
Build 18669: Phabricator diff pipeline on jenkinsJenkins console · Jenkins
Build 18668: arc lint + arc unit

Event Timeline

Build is green

Patch application report for D3133 (id=11136)

Rebasing onto d2559583ca...

Current branch diff-target is up to date.
Changes applied before test
commit 25d7f75b30cb99becffaf3e3aeae6ad4825ffbee
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Thu May 7 14:30:12 2020 +0100

    test: Add checks scenario test cases

commit 108fa113bea90754a197de4cadf73189b9309211
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Thu May 7 14:09:04 2020 +0100

    test_tasks: Unify mocking using pytest-mock fixture

commit cd9c642bb798fa3f6d1c9c9919262a0bb7123f9c
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Thu May 7 14:02:00 2020 +0100

    test_task: Mark it to be ignore during debian build

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

This revision was not accepted when it landed; it landed in state Needs Review.May 7 2020, 3:36 PM
This revision was automatically updated to reflect the committed changes.