HomeSoftware Heritage

Adapt tests mocks to work with swh.-journal v0.0.19

Description

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.

Details

Provenance
vlorentzAuthored on Nov 8 2019, 3:18 PM
vlorentzPushed on Nov 8 2019, 4:47 PM
Differential Revision
D2241: Adapt tests mocks to work with swh.-journal v0.0.19
Parents
rDSEA5f2a19336877: in_memory.py: make flake8 happy again
Branches
Unknown
Tags
Unknown
Build Status
Buildable 8912
Build 13013: test-and-buildJenkins