def METHOD_NAME():
    """
    Test if it set a value for a specific augeas path
    """
    mock = MagicMock(side_effect=IOError(""))
    with patch.object(_Augeas, "save", mock):
        assert augeas_cfg.setvalue("prefix=/files/etc/") == {
            "retval": False,
            "error": "",
        }