def test_list_locations_success(self):
        locations = self.driver.list_locations()
        self.assertTrue(len(locations) >= 1)

        location = locations[0]
        self.assertEqual(location.id, '1')
        self.assertEqual(location.name, 'New Jersey')
dataset/ETHPy150Open apache/libcloud/libcloud/test/compute/test_vultr.py/VultrTests.test_list_locations_success/original