Skip to content

Add a new (git) dataset generation scaffolding for tests

and use it to the generate a 'cmdbts2' test case strictly equivalent to the CMDBTS repo. Replace the previous CMDBTS dataset by this generated 'cmdbts2' dataset.

See the swh/provenance/tests/data/README.md file for more details.

Note: this revision could be split in 2 or 3, but...

Also remove test_provenance_heuristics_CMDBTS test

since it's redundant with the cmdbts2 test, now generated from a simple yaml file rather than depending on the original CMDBTS git repo on github.

The CMDBTS dataset (CMDBTS.msgpack) is kept for now since it's still used for other tests (e.g. test_provenance_db).

Depends on !21 (closed)


Migrated from D5805 (view on Phabricator)

Merge request reports