HomeSoftware Heritage

Add tests for the cloud object storage

Description

Add tests for the cloud object storage

Summary:
Create mock classes for the libcloud driver so the objstorage behavior can be checked.

Also, catch a libcloud exception and raise swh exception instead at the lower possible level in the code.

Reviewers: Reviewers, ardumont

Reviewed By: Reviewers, ardumont

Subscribers: ardumont

Differential Revision: https://forge.softwareheritage.org/D100

Details

Provenance
qcamposAuthored on Sep 6 2016, 4:22 PM
ardumontCommitted on Sep 6 2016, 4:26 PM
ardumontPushed on Sep 6 2016, 4:31 PM
Reviewer
Reviewers
Differential Revision
D100: Add tests for the cloud object storage
Parents
rDOBJS2106e194af39: Fix typos
Branches
Unknown
Tags
Unknown