def test_show(self):
        mock = MagicMock(return_value={})
        with patch.object(debconfmod, 'get_selections', mock):
            self.assertEqual(debconfmod.show('name'), None)
Test for Answers to debconf questions for a package
dataset/ETHPy150Open saltstack/salt/tests/unit/modules/debconfmod_test.py/DebconfmodTestCase.test_show