Beispiel #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'))
Beispiel #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'))