'``list_volumes`` lists only those volumes
belonging to the current Flocker cluster.'

def test_foreign_volume(self):

    try:
        config = get_blockdevice_config()
    except InvalidConfig as e:
        self.skipTest(str(e))
    ec2_client = get_ec2_client_for_test(config)
    meta_client = ec2_client.connection.meta.client
    requested_volume = meta_client.create_volume(Size=int(Byte(self.minimum_allocatable_size).to_GiB().value), AvailabilityZone=ec2_client.zone)
    created_volume = ec2_client.connection.Volume(requested_volume['VolumeId'])
    self.addCleanup(created_volume.delete)
    _wait_for_volume_state_change(VolumeOperations.CREATE, created_volume)
    self.assertEqual(self.api.list_volumes(), [])
