HomeSoftware Heritage

test_client: Refactor and simplify tests for a better readability
404f2728ad0fUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

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

Details

Provenance
ardumontAuthored on Oct 9 2020, 12:17 PM
ardumontPushed on Oct 9 2020, 3:47 PM
Parents
R65:b18cd89d4c50: test_client: Migrate multisteps_deposit scenario to use requests_mock_datadir
Branches
Unknown
Tags
Unknown
References
tag: phabricator/diff/14893, tag: phabricator/base/14894

Event Timeline