def test_held(self):
        name = 'tmux'

        ret = {'name': name,
               'result': False,
               'changes': {},
               'comment': 'Package {0} does not have a state'.format(name)}

        mock = MagicMock(return_value=False)
        with patch.dict(aptpkg.__salt__, {'pkg.get_selections': mock}):
            self.assertDictEqual(aptpkg.held(name), ret)
Get level types this item adder can be used at
dataset/ETHPy150Open saltstack/salt/tests/unit/states/apt_test.py/AptTestCase.test_held--crossover with--dataset/ETHPy150Open tuturto/pyherc/src/pyherc/generators/level/item.py/ItemAdder.__get_level_types