

def _tenant_vm_exists_on_dst(self, src_vm_list):
    src_vm_names = [vm['name'] for vm in src_vm_list]
    migrated_vm_list = []
    for dst_vm in self.dst_vm_list:
        for src_vm in src_vm_list:
            if (src_vm['name'] == dst_vm.name):
                if (self.dst_tenants[self.dst_cloud.tenant] == dst_vm.tenant_id):
                    src_vm.append(dst_vm.name)
    non_migrated_vms = (set(src_vm_names) ^ set(migrated_vm_list))
    return non_migrated_vms

dataset/ETHPy150Open MirantisWorkloadMobility/CloudFerry/cloudferry_devlab/cloudferry_devlab/tests/testcases/test_verify_dst_del_tenant_resources.py VerifyDstDeletedTenantResources._tenant_vm_exists_on_dst/VarMisuse@80/131 `migrated_vm_list`->`src_vm`