def METHOD_NAME(user):
    ScheduleEntry(name="t", action="logger", owner=user).save()
    with pytest.raises(ValidationError):
        ScheduleEntry(name="t", action="logger", owner=user).full_clean()