

@attr(migrated_tenant=['admin', 'tenant1', 'tenant2'])
def test_tenant_net_exists_on_dst(self):
    "Validate tenant's networks were migrated successfuly."
    tenant_nets_ids = []
    for (tenant_name, tenant) in self.deleted_tenants:
        undeleted_net_ids_list = self._tenant_nets_exist_on_dst(tenant['networks'])
        if undeleted_net_ids_list:
            tenant_nets_ids.append({
                tenant_name: undeleted_net_ids_list,
            })
    if tenant_nets_ids:
        msg = "Tenant's network {0} exists on destination, but should be deleted!"
        self.fail(msg.format(tenant_nets_ids))

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