def METHOD_NAME():
    """
    Test if it removes for path expression
    """
    mock = MagicMock(side_effect=RuntimeError("error"))
    with patch.object(_Augeas, "save", mock):
        assert augeas_cfg.remove("/etc/service-name") == {
            "count": 0,
            "error": "error",
            "retval": False,
        }