Adapt tests mocks to work with swh.-journal v0.0.19
The journal client now uses Consumer.consume instead of Consumer.poll, so not mocking Consumer.consume resulted in infinite loops.
Migrated from D2241 (view on Phabricator)
The journal client now uses Consumer.consume instead of Consumer.poll, so not mocking Consumer.consume resulted in infinite loops.
Migrated from D2241 (view on Phabricator)