HomeSoftware Heritage

Improve tests coverage by adding missing model types in journal_data

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

Improve tests coverage by adding missing model types in journal_data

Improve the coverage of the test set provided in journal_data, namely
add directories, snapshots and skipped contents.

This requires to adapt a bit the function assert_all_objects_consumed() from
pytest_plugin, because we want to be able to handle anonymizable objects
specifically. So for now, simply add an 'exclude' argument.

It also needs the kafka_to_value serializer function to ensure tuples are
used instead of lists.

Details

Provenance
douarddaAuthored on May 29 2020, 2:51 PM
douarddaPushed on Jun 3 2020, 1:52 PM
Differential Revision
D3207: Improve tests coverage by adding missing model types in journal_data
Build Status
Buildable 12601
Build 19144: test-and-buildJenkins console · Jenkins

Commit No Longer Exists

This commit no longer exists in the repository.