def METHOD_NAME():
    """Tests overriding a variable that can't be overridden."""
    configparam = EnumStr("caca", "merda", allow_override=False)
    AddConfigVar('new_var2', "doc", configparam)
    with raises(Exception):
        msaf.config.new_var2 = "caca2"  # Raise Exception