HomeSoftware Heritage

test/model: do not test direct instanciation of model objects

Description

test/model: do not test direct instanciation of model objects

this does not work in the general case since there is no (recursive)
convertion of objects used as model object initialization.

We can only check when using the from_dict() factory.

Details

Provenance
douarddaAuthored on Mar 11 2020, 3:41 PM
douarddaPushed on Mar 12 2020, 2:53 PM
Differential Revision
D2817: test/model: do not test direct instanciation of model objects
Parents
rDMODc74696036e97: tests/models: use d.copy() instead of dict(d)
Branches
Unknown
Tags
Unknown
Build Status
Buildable 11095
Build 16726: test-and-buildJenkins