HomeSoftware Heritage

test_client: Refactor and simplify tests for a better readability

Description

test_client: Refactor and simplify tests for a better readability

This:

  • Align all tests to use json format so the output check is simpler
  • Simplify the failure cases to check the caplog record
  • Drop dead code
  • Rename tests with a test_cli_ prefix so it's simpler to run separately from

the rest