def METHOD_NAME(
    app,
    client,
    login,
    user_vetinari_site_editor,
    org_uu,
    project_expo2010,
    label,
    is_promoted,
    csrf_token,
) -> None:
    login.as_(user_vetinari_site_editor.member)
    endpoint = project_expo2010.url_for('add_sponsor')
    data = {
        'member': org_uu.name,
        'label': label,
        'csrf_token': csrf_token,
    }
    if is_promoted:
        # Checkboxes are only included in HTML forms when they are checked
        data['is_promoted'] = True
    rv = client.post(endpoint, data=data)
    assert rv.status_code == 303
    added_sponsorship = models.ProjectSponsorMembership.query.filter(
        models.ProjectSponsorMembership.is_active,
        models.ProjectSponsorMembership.project == project_expo2010,
        models.ProjectSponsorMembership.member == org_uu,
    ).one_or_none()
    assert added_sponsorship is not None
    assert added_sponsorship.member == org_uu
    assert added_sponsorship.label == label
    assert added_sponsorship.is_promoted is is_promoted