Page MenuHomeSoftware Heritage

docker: Remove shell based tests and add extra checks to git loader test
ClosedPublic

Authored by anlambert on Aug 9 2022, 3:21 PM.

Details

Summary

Shell based tests for the docker environment are now redundant with
pytest-testinfra based ones so it is time to remove them.

I took care to implement in Python the extra shell checks testing if
all git objects have been loaded into the archive, so we do not lose
some coverage.

I also replaced the use of the git command by the dulwich module in
test implementation.

See commit log for more details.

Diff Detail

Repository
rDENV Development environment
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.