Page MenuHomeSoftware Heritage

Clean up the signature of test_cli's invoke method
ClosedPublic

Authored by olasd on Mar 10 2020, 4:58 PM.

Details

Summary
  • Drop catch_exception as it's not used anywhere (and we always assert on result.return_code)
  • Make the argument list a starargs instead of having to make a list

Depends on D2802

Test Plan

tox tests updated

Diff Detail

Repository
rDJNL Journal infrastructure
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

This revision is now accepted and ready to land.Mar 10 2020, 5:25 PM