def METHOD_NAME(setting_update, download_policy):
    """Check the set custom repository download policy for newly created custom repository.
    :id: d5150cce-ba85-4ea0-a8d1-6a54d0d29571
    :Steps:
        1. Create a product, Organization
        2. Update the Default Custom Repository download policy in the setting.
        3. Create a custom repo under the created organization.
        4. Check the set policy of new created repository.
        5. Repeat steps 2 to 4 for both download policy.
    :parametrized: yes
    :expectedresults: The set download policy should be the default policy in the newly created
     repository.
    :CaseImportance: Medium
    :CaseLevel: Acceptance
    """
    org = entities.Organization().create()
    prod = entities.Product(organization=org).create()
    setting_update.value = download_policy
    setting_update.update({'value'})
    repo = entities.Repository(product=prod, content_type='yum', organization=org).create()
    assert repo.download_policy == download_policy
    repo.delete()
    prod.delete()