def test_list_images_in_location(self): images = libcloud_compute.list_images("test", location_id="test_location") self.assertEqual(len(images), 1) self._validate_image(images[0])
def test_list_images(self): images = libcloud_compute.list_images("test") self.assertEqual(len(images), 1) self._validate_image(images[0])