HomeSoftware Heritage

Ensure the mock function has been called with arguments

Description

Ensure the mock function has been called with arguments

This permits to make sure the call takes place as expected.

Beware though that does not permit to check the values have not been
hard-coded...

Details

Provenance
ardumontAuthored on
ardumontPushed on Nov 10 2015, 7:33 PM
Parents
rDWAPPS497326fbf7c4: Mock the storage using unittest.mock
Branches
Unknown
Tags
Unknown