def test_show(self): """ Test for Answers to debconf questions for a package """ mock = MagicMock(return_value={}) with patch.object(debconfmod, "get_selections", mock): self.assertEqual(debconfmod.show("name"), None)
def test_show(self): ''' Test for Answers to debconf questions for a package ''' mock = MagicMock(return_value={}) with patch.object(debconfmod, 'get_selections', mock): self.assertEqual(debconfmod.show('name'), None)