Skip to content
Snippets Groups Projects
Commit 3c08d9f0 authored by Antoine Lambert's avatar Antoine Lambert
Browse files

test_retry: Use proper way to mock sleep of retryable storage methods

Previous implementation was not mocking sleep of retryable storage methods
as the RetryingProxyStorage setup the retry features when it is instantiated.

So modify fixture to ensure sleep functions are mocked and return the mocks
in a dict indexed by storage method names.

This fixes debian buster package build for swh-storage.
parent c1c2dbf0
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment