def METHOD_NAME(api_client, event, registration):
    registration.maximum_attendee_capacity = 2
    registration.save()
    reservation_data = {"registration": registration.id}
    response = reserve_seats(api_client, reservation_data)
    assert response.status_code == status.HTTP_400_BAD_REQUEST
    assert response.data["seats"][0].code == "required"