[recipe_wrapper] Abstract executing `cipd`
Executing `cipd` directly means tests have to hit the network, and they can't be reasonably hermetic. This change abstracts the execution of `cipd` into an interface such that tests later can stub out the result instead.
Bug: b/294422701
Change-Id: Ic51f55acb52828df288ea458a244166cbce59444
Reviewed-on: https://fuchsia-review.googlesource.com/c/infra/infra/+/895801
Fuchsia-Auto-Submit: Chris Lewis <cflewis@google.com>
Reviewed-by: Anthony Fandrianto <atyfto@google.com>
Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.com>
2 files changed