Currently _download_git, _download_svn and _download_hg are all not getting hit by the test suite.
It will probably be useful to add unit tests that hit (via the public interface) those code paths.
I think the easiest way to get a useful version of this working is to mock out os.system and check that the correct system calls are made.
We can and possibly should also make integration tests that actually make the relevant system calls, but we can defer those later because they have some more dev-ops-y implications.
Currently
_download_git,_download_svnand_download_hgare all not getting hit by the test suite.It will probably be useful to add unit tests that hit (via the public interface) those code paths.
I think the easiest way to get a useful version of this working is to mock out
os.systemand check that the correct system calls are made.We can and possibly should also make integration tests that actually make the relevant system calls, but we can defer those later because they have some more dev-ops-y implications.