HomeSoftware Heritage

test_cli: Fix test_run_help and test_list_help

Description

test_cli: Fix test_run_help and test_list_help

Due to an incomplete command passed to the HelpFormatter.format method,
the text alignment in the usage_prefix variable was not the same as the
command output generated by click.

Those tests started to fail since the recent growth of available loaders
as click wraps help lines to 80 columns.

Details

Provenance
anlambertAuthored on Mar 8 2021, 12:48 PM
anlambertPushed on Mar 8 2021, 2:10 PM
Differential Revision
D5214: test_cli: Fix test_run_help and test_list_help
Parents
rDLDBASEd14fbd2a9f11: deposit.loader: Make archive.tar the default_filename
Branches
Unknown
Tags
Unknown
Build Status
Buildable 19776
Build 30703: test-and-buildJenkins console · Jenkins

Event Timeline