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
Branch
remove-shell-tests
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 30725
Build 48040: arc lint + arc unit