def test_absent_already_gone(self):
        name = 'saltdude'
        target = 'dude@saltstack.com'
        ret = {'comment': 'Alias {0} already absent'.format(name),
               'changes': {},
               'name': name,
               'result': True}

        get_target = MagicMock(return_value=False)
        with patch.dict(alias.__salt__, {'aliases.get_target': get_target}):
            self.assertEqual(alias.absent(name), ret)
Override this method in the child class to throw an exception if the data dictionary is invalid
dataset/ETHPy150Open saltstack/salt/tests/unit/states/alias_test.py/AliasTest.test_absent_already_gone--crossover with--dataset/ETHPy150Open espeed/bulbs/bulbs/model.py/Model.__check__