HomeSoftware Heritage

Add a model object based version of the journal writer test objects

Description

Add a model object based version of the journal writer test objects

This refactors the various conversions happening in the journal writer tests in
a single place.

When developing this, I noticed that the journal writer would let Content data
go through; Make sure we do not let it do that.

Details

Provenance
olasdAuthored on Apr 10 2020, 11:41 AM
olasdPushed on Apr 10 2020, 4:29 PM
Differential Revision
D3004: Add a model object based version of the journal writer test objects
Parents
rDJNL1c9ccb29eea3: Rename OBJECT_TYPE_KEYS to TEST_OBJECT_DICTS
Branches
Unknown
Tags
Unknown
Build Status
Buildable 11805
Build 17904: test-and-buildJenkins console · Jenkins