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)
示例#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)
示例#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)