@attr(migrated_tenant='tenant2')
    def test_tenant_users_exist_on_dst(self):
        undeleted_users = []
        for tenant_name, _ in self.deleted_tenants:
            tenant_users_list_src = \
                [user for user in config.users if
                 'tenant' in user and user['tenant'] == tenant_name]

            tenant_users_dst = \
                self._tenant_users_exist_on_dst(tenant_users_list_src)

            if tenant_users_dst:
                undeleted_users.append({tenant_name: tenant_users_dst})

        if undeleted_users:
            msg = 'Tenant\'s users {0} exist on destination,' \
                  ' but should be deleted!'
            self.fail(msg.format(undeleted_users))
Validate users with deleted tenant were migrated successfuly.
dataset/ETHPy150Open MirantisWorkloadMobility/CloudFerry/cloudferry_devlab/cloudferry_devlab/tests/testcases/test_verify_dst_del_tenant_resources.py/VerifyDstDeletedTenantResources.test_tenant_users_exist_on_dst