def test_list_locations(self):
        loc = list(filter(lambda x: 'france' in x.country.lower(),
                          self.driver.list_locations()))[0]
        self.assertEqual(loc.country, 'France')
dataset/ETHPy150Open apache/libcloud/libcloud/test/compute/test_gandi.py/GandiTests.test_list_locations/original