Page MenuHomeSoftware Heritage

test_checks: Make failure more readable
ClosedPublic

Authored by vlorentz on Mar 8 2022, 5:43 PM.

Diff Detail

Repository
rDDEP Push deposit
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 D7315 (id=26460)

Could not rebase; Attempt merge onto cac1511329...

Merge made by the 'recursive' strategy.
 swh/deposit/tests/api/test_checks.py | 105 +++++++++++++++++++++--------------
 1 file changed, 64 insertions(+), 41 deletions(-)
Changes applied before test
commit d87b0878410cacb5729df7f20ac8a15716d1c5a1
Merge: cac15113 6e85cb9f
Author: Jenkins user <jenkins@localhost>
Date:   Tue Mar 8 16:43:17 2022 +0000

    Merge branch 'diff-target' into HEAD

commit 6e85cb9fdcbe5ee1e19d3cc1bcfd1fa42639b56b
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Mon Feb 28 11:46:56 2022 +0100

    test_checks: Make failure more readable

commit 4d3653e309fe0f8a1b895cbe24389a9239baa3d1
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Mon Feb 28 11:36:23 2022 +0100

    test_checks: Add names to pytest parameters + reorder them + remove duplicate
    
    It makes it easier to identify tests when failing + helps git to
    make readable diffs.

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

This revision is now accepted and ready to land.Mar 8 2022, 6:07 PM

Build is green

Patch application report for D7315 (id=26472)

Could not rebase; Attempt merge onto cac1511329...

Updating cac15113..e288319c
Fast-forward
 swh/deposit/tests/api/test_checks.py | 105 +++++++++++++++++++++--------------
 1 file changed, 64 insertions(+), 41 deletions(-)
Changes applied before test
commit e288319cfe7d048bff09556bb6c5aae75eb3a7b2
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Mon Feb 28 11:46:56 2022 +0100

    test_checks: Make failure more readable

commit fb702b02ad6a7c218350900d4f45a2093cd5e9ad
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Mon Feb 28 11:36:23 2022 +0100

    test_checks: Add names to pytest parameters + reorder them + remove duplicate
    
    It makes it easier to identify tests when failing + helps git to
    make readable diffs.

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

This revision was automatically updated to reflect the committed changes.