def METHOD_NAME(user_token_factory):
    user_token = user_token_factory()
    assert user_token.note is None
    note_max_length = util.get_column_size(model.UserToken.note) + 1
    note = "".join(
        random.choice(string.ascii_letters) for _ in range(note_max_length)
    )
    with pytest.raises(user_tokens.InvalidNoteError):
        user_tokens.update_user_token_note(user_token, note)