def test_github_source(): repo_cache = github_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_github_source(): repo_cache = github_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_github_source_multi(): repo_cache = github_source_manifest_provider(_ros_source_repo()) assert repo_cache['_ref'] package_path, package_xml = repo_cache['roslib'] assert package_path == 'core/roslib'
def test_github_source_multi(): repo_cache = github_source_manifest_provider(_ros_source_repo()) assert repo_cache["_ref"] package_path, package_xml = repo_cache["roslib"] assert package_path == "core/roslib"