def METHOD_NAME(session, module_custom_product):
    """Create custom ostree repository and sync it.
    :id: e4119b9b-0356-4661-a3ec-e5807224f7d2
    :expectedresults: ostree repo should be synced successfully
    :customerscenario: true
    :CaseLevel: Integration
    :BZ: 1625783
    """
    repo = entities.Repository(
        content_type='ostree',
        url=FEDORA_OSTREE_REPO,
        product=module_custom_product,
        unprotected=False,
    ).create()
    with session:
        results = session.sync_status.synchronize([(module_custom_product.name, repo.name)])
        assert len(results) == 1
        assert results[0] == 'Syncing Complete.'