def METHOD_NAME(token_client, organizer, event, device):
    resp = token_client.patch(
        '/api/v1/organizers/{}/devices/{}/'.format(organizer.slug, device.device_id),
        {
            'name': 'bla',
            'hardware_brand': 'Foo'
        },
        format='json'
    )
    assert resp.status_code == 200
    device.refresh_from_db()
    assert device.hardware_brand == 'Zebra'
    assert device.name == 'bla'