HomeSoftware Heritage

docker/test_git_loader: Use dulwich instead of git and add extra checks

Description

docker/test_git_loader: Use dulwich instead of git and add extra checks

Towards removing the shell based tests for the docker environment,
synchronize the features they cover by checking in Python based test
that all git objects have been correctly loaded into the archive.

Also prefer to use dulwich to manipulate a git repository instead
of git command.

Details

Provenance
anlambertAuthored on Aug 9 2022, 3:02 PM
anlambertPushed on Aug 9 2022, 3:33 PM
Differential Revision
D8222: docker: Remove shell based tests and add extra checks to git loader test
Parents
rDENV044a2069ac67: docker/tests/conftest.py: Fix typo
Branches
Unknown
Tags
Unknown