def METHOD_NAME(stdapi):
    '''
    test to raise exception when standard_user tries to edit agent_config.
    '''
    with pytest.raises(ForbiddenError):
        stdapi.agent_config.edit(auto_unlink=30)