def test_git_source(): repo_cache = git_source_manifest_provider(_genmsg_source_repo()) # This hash corresponds to the 0.5.11 tag. assert repo_cache.ref() == 'a189fc78558e7276df59d2961cfe4f8b4de08a8b' package_path, package_xml = repo_cache['genmsg'] assert '' == package_path assert '<version>0.5.11</version>' in package_xml
def test_git_source(): repo_cache = git_source_manifest_provider(_genmsg_source_repo()) # This hash corresponds to the 0.5.7 tag. assert repo_cache['_ref'] == '81b66fe5eb00043c43894ddeee07e738d9b9712f' package_path, package_xml = repo_cache['genmsg'] assert '' == package_path assert '<version>0.5.7</version>' in package_xml
def test_git_source(): repo_cache = git_source_manifest_provider(_genmsg_source_repo()) # This hash corresponds to the 0.5.7 tag. assert repo_cache["_ref"] == "81b66fe5eb00043c43894ddeee07e738d9b9712f" package_path, package_xml = repo_cache["genmsg"] assert "" == package_path assert "<version>0.5.7</version>" in package_xml
def test_git_source_multi(): repo_cache = git_source_manifest_provider(_ros_source_repo()) assert repo_cache.ref() package_path, package_xml = repo_cache['roslib'] assert package_path == 'core/roslib'
def test_git_source_multi(): repo_cache = git_source_manifest_provider(_ros_source_repo()) assert repo_cache["_ref"] package_path, package_xml = repo_cache["roslib"] assert package_path == "core/roslib"