def test_show(self):
        # Existing Service
        service_info = self.run_function('service.show', [self.SERVICE_NAME])
        self.assertIsInstance(service_info, dict)
        self.assertEqual(service_info['plist']['Label'], self.SERVICE_NAME)

        # Missing Service
        self.assertIn(
            'Service not found',
            self.run_function('service.show', ['spongebob']))
Test service.show
dataset/ETHPy150Open saltstack/salt/tests/integration/modules/mac_service.py/MacServiceModuleTest.test_show