def test_show_conf(self):
     """
     Test if it show parsed configuration
     """
     with patch("salt.modules.logrotate._parse_conf",
                MagicMock(return_value=True)):
         self.assertTrue(logrotate.show_conf())
Beispiel #2
0
 def test_show_conf(self):
     '''
     Test if it show parsed configuration
     '''
     self.assertTrue(logrotate.show_conf())
Beispiel #3
0
 def test_show_conf(self):
     '''
     Test if it show parsed configuration
     '''
     self.assertTrue(logrotate.show_conf())