Page MenuHomeSoftware Heritage

Clean up the signature of test_cli's invoke method
ClosedPublic

Authored by olasd on Tue, Mar 10, 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.