HomeSoftware Heritage

pytest_plugin: pprint key when assertion is not respected

Description

pytest_plugin: pprint key when assertion is not respected

Prior to this commit, when error happened during testing, this would cascade
into another error ("unhashable type dict" for example). In effect, preventing
to actually understand correctly what went wrong in the first place.

This commit fixes it.

Details

Provenance
ardumontAuthored on Jun 9 2020, 12:50 PM
ardumontPushed on Jun 9 2020, 4:23 PM
Differential Revision
D3249: pytest_plugin: Fix cascading assertion error when key is not hashable
Parents
rDJNLd18c5ef32fa9: Allow journal to deal with origin_visit_status
Branches
Unknown
Tags
Unknown
References
tag: v0.3.1
Build Status
Buildable 12725
Build 19352: test-and-buildJenkins console · Jenkins