Beispiel #1
0
 def test_get_enabled(self):
     '''
     Test to return the enabled services
     '''
     with patch.object(smf, '_get_enabled_disabled', return_value=True):
         self.assertTrue(smf.get_enabled())
Beispiel #2
0
 def test_get_enabled(self):
     '''
     Test to return the enabled services
     '''
     with patch.object(smf, '_get_enabled_disabled', return_value=True):
         self.assertTrue(smf.get_enabled())