'Test that list_volumes() excludes volumes belonging to
other Flocker clusters.'

def test_foreign_cluster_volume(self):

    blockdevice_api2 = cinderblockdeviceapi_for_test(test_case=self)
    flocker_volume = blockdevice_api2.create_volume(dataset_id=uuid4(), size=self.minimum_allocatable_size)
    CINDER_VOLUME(id=flocker_volume.blockdevice_id).write()
    self.assert_foreign_volume(flocker_volume)
