HomeSoftware Heritage

tests: Remove the SWHTag mock, use dulwich.objects.Tag instead.

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

Description

tests: Remove the SWHTag mock, use dulwich.objects.Tag instead.

This mock was clunky because it didn't actually behave much like
dulwich's Tag.

Additionally, a future commit will need to access the as_raw_chunks()
method of ShaFile objects, so SWHTag isn't suitable anymore as it
would need to diverge even more by implementing its own serialization.

Details

Provenance
vlorentzAuthored on Dec 20 2021, 12:38 PM
vlorentzPushed on Dec 20 2021, 4:09 PM
Differential Revision
D6865: tests: Remove the SWHTag mock, use dulwich.objects.Tag instead.
Build Status
Buildable 25744
Build 40238: test-and-buildJenkins console · Jenkins

Commit No Longer Exists

This commit no longer exists in the repository.