def test_create_volume(self):
        loc = list(filter(lambda x: x.country.lower() in 'france',
                          self.driver.list_locations()))[0]
        volume = self.driver.create_volume(
            size=1024, name='libcloud', location=loc)
        self.assertEqual(volume.name, 'libcloud')
        self.assertEqual(volume.size, 1024)
dataset/ETHPy150Open apache/libcloud/libcloud/test/compute/test_gandi.py/GandiTests.test_create_volume/swapped operands of `in`