def test_git_legacy(): rosdistro.vcs.Git._client_version = '1.7.0' assert '</package>' in git_manifest_provider('melodic', _genmsg_release_repo(), 'genmsg') rosdistro.vcs.Git._client_version = None
def test_git_legacy(): rosdistro.vcs.Git._client_version = "1.7.0" assert "</package>" in git_manifest_provider("kinetic", _genmsg_release_repo(), "genmsg") rosdistro.vcs.Git._client_version = None
def test_git(): assert '</package>' in git_manifest_provider('melodic', _genmsg_release_repo(), 'genmsg')
def test_git(): assert "</package>" in git_manifest_provider("kinetic", _genmsg_release_repo(), "genmsg")