def test_get_path_specs_from_uri_from_url(self): # wet url = "http://ros.org/rosinstalls/fuerte-ros-full.rosinstall" path_specs = get_path_specs_from_uri(url) self.assertTrue(ros_found_in_path_spec(path_specs), "No ros element in fuerte %s, URL %s" % (path_specs, url)) # dry url = "http://packages.ros.org/cgi-bin/gen_rosinstall.py?rosdistro=fuerte&variant=desktop-full&overlay=no" path_specs = get_path_specs_from_uri(url) self.assertTrue(ros_found_in_path_spec(path_specs), "No ros element in fuerte %s, URL %s" % (path_specs, url))
def test_get_path_specs_from_uri_from_url(self): # wet url = "http://ros.org/rosinstalls/fuerte-ros-full.rosinstall" path_specs = get_path_specs_from_uri(url) self.assertTrue( ros_found_in_path_spec(path_specs), "No ros element in fuerte %s, URL %s" % (path_specs, url)) # dry url = "http://packages.ros.org/cgi-bin/gen_rosinstall.py?rosdistro=fuerte&variant=desktop-full&overlay=no" path_specs = get_path_specs_from_uri(url) self.assertTrue( ros_found_in_path_spec(path_specs), "No ros element in fuerte %s, URL %s" % (path_specs, url))
def test_get_path_specs_from_uri_from_url(self): url = "http://www.ros.org/rosinstalls/boxturtle_base.rosinstall" path_specs = get_path_specs_from_uri(url) self.assertTrue(ros_found_in_path_spec(path_specs), "No ros element in boxturtle")
def test_get_path_specs_from_uri_from_url(self): url = "http://packages.ros.org/web/rosinstall/generate/raw/groovy/ros-base" path_specs = get_path_specs_from_uri(url) self.assertTrue(ros_found_in_path_spec(path_specs), "No ros element in groovy")
def test_get_path_specs_from_uri_from_url(self): url = "http://packages.ros.org/cgi-bin/gen_rosinstall.py?rosdistro=electric&variant=ros-base&overlay=no" path_specs = get_path_specs_from_uri(url) self.assertTrue(ros_found_in_path_spec(path_specs), "No ros element in electric")