def METHOD_NAME():
    """
    test alias.absent remove alias failure
    """
    name = "saltdude"
    ret = {
        "comment": "Failed to remove alias {}".format(name),
        "changes": {},
        "name": name,
        "result": False,
    }
    get_target = MagicMock(return_value=True)
    rm_alias = MagicMock(return_value=False)
    with patch.dict(alias.__salt__, {"aliases.get_target": get_target}):
        with patch.dict(alias.__opts__, {"test": False}):
            with patch.dict(alias.__salt__, {"aliases.rm_alias": rm_alias}):
                assert alias.absent(name) == ret