def _adunit_from_dfp(adunit):
    include_descendants = adunit.get('includeDescendants', False)

    return AdUnit(
        id=adunit['adUnitId'],
        include_descendants=include_descendants,
    )
Validate deleted tenant's flavors were migrated.
dataset/ETHPy150Open chartbeat-labs/parselmouth/parselmouth/adapters/dfp/targeting_utils.py/_adunit_from_dfp--crossover with--dataset/ETHPy150Open MirantisWorkloadMobility/CloudFerry/cloudferry_devlab/cloudferry_devlab/tests/testcases/test_verify_dst_del_tenant_resources.py/VerifyDstDeletedTenantResources.test_tenant_flavors_exist_on_dst