def METHOD_NAME(
    equipment, generic_terms, payment_terms, purpose, space_resource_type, test_unit, empty_resource_form_data
):
    data = empty_resource_form_data
    data.update({
        'access_code_type': 'pin6',
        'authentication': 'weak',
        'equipment': equipment.pk,
        'external_reservation_url': 'http://calendar.example.tld',
        'generic_terms': generic_terms.pk,
        'payment_terms': payment_terms.pk,
        'max_period': '02:00:00',
        'min_period': '01:00:00',
        'slot_size': '00:30:00',
        'name_fi': 'Test resource',
        'purposes': purpose.pk,
        'type': space_resource_type.pk,
        'unit': test_unit.pk,
        'periods-0-name': 'Kesäkausi',
        'periods-0-start': '2018-06-06',
        'periods-0-end': '2018-08-01',
        'days-periods-0-0-opens': '08:00',
        'days-periods-0-0-closes': '12:00',
        'days-periods-0-0-weekday': '1',
        'price_type': 'hourly'
    })
    return data