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)
Esempio n. 2
0
 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)
Esempio n. 3
0
 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)