Page MenuHomeSoftware Heritage

test_deposit: Introduce status_template helper function
ClosedPublic

Authored by ardumont on Oct 15 2020, 2:44 PM.

Details

Summary

To ease incoming scenario updates (notably the deposit update metadata D4252).
Depends on D4268

Diff Detail

Repository
rDICP Icinga plugins
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 16324
Build 25131: Phabricator diff pipeline on jenkinsJenkins console · Jenkins
Build 25130: arc lint + arc unit

Event Timeline

Build is green

Patch application report for D4269 (id=15098)

Could not rebase; Attempt merge onto 6f9b0d99ee...

Updating 6f9b0d9..2c326c4
Fast-forward
 swh/icinga_plugins/tests/test_deposit.py | 143 ++++++++++++++++++++-----------
 1 file changed, 91 insertions(+), 52 deletions(-)
Changes applied before test
commit 2c326c4a0a8b2f77bc7f73332301f8352b81b2c9
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Thu Oct 15 14:44:42 2020 +0200

    test_deposit: Introduce status_template helper function
    
    To ease incoming scenario updates (notably the deposit update metadata).

commit be18e1f9dd4ac7220d573443492d66a57b4981b9
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Thu Oct 15 14:42:18 2020 +0200

    test_deposit: Use f-string instead of concatenate strings

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

This revision is now accepted and ready to land.Oct 15 2020, 4:32 PM