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
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 11045
Build 16639: tox-on-jenkinsJenkins
Build 16638: arc lint + arc unit

Event Timeline

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