def METHOD_NAME():
    """
    Test if it install pyenv systemwide
    """
    mock_opt = MagicMock(return_value="salt stack")
    mock_ret = MagicMock(return_value=0)
    with patch.dict(
        pyenv.__salt__, {"config.option": mock_opt, "cmd.retcode": mock_ret}
    ):
        assert pyenv.install()