

@attr(migrated_tenant=['admin', 'tenant1', 'tenant2'])
def test_tenants_volumes_on_dst(self):
    "Validate deleted tenant's volumes were migrated."
    undeleted_volumes = []
    for (tenant_name, tenant) in self.deleted_tenants:
        tenant_undeleted_volumes = self._tenant_volumes_exist_on_dst(tenant['cinder_volumes'])
        if tenant_undeleted_volumes:
            undeleted_volumes.append({
                tenant_name: tenant_undeleted_volumes,
            })
    if undeleted_volumes:
        msg = "Tenant's cinder volumes with ids {0} exist on destination, but should be deleted!"
        self.fail(msg.format(undeleted_volumes))

dataset/ETHPy150Open MirantisWorkloadMobility/CloudFerry/cloudferry_devlab/cloudferry_devlab/tests/testcases/test_verify_dst_del_tenant_resources.py VerifyDstDeletedTenantResources.test_tenants_volumes_on_dst/original