def test_disabled(self): """ Test to check to see if the named service is disabled to start on boot """ with patch.object(smf, "enabled", return_value=False): self.assertTrue(smf.disabled("name"))
def test_disabled(self): ''' Test to check to see if the named service is disabled to start on boot ''' with patch.object(smf, 'enabled', return_value=False): self.assertTrue(smf.disabled('name'))