Ejemplo n.º 1
0
 def test_missing(self):
     '''
     Test for The inverse of service.available
     '''
     with patch.object(launchctl,
                       '_service_by_name', return_value=True):
         self.assertFalse(launchctl.missing('job_label'))
Ejemplo n.º 2
0
 def test_missing(self):
     '''
     Test for The inverse of service.available
     '''
     with patch.object(launchctl,
                       '_service_by_name', return_value=True):
         self.assertFalse(launchctl.missing('job_label'))