def test_launchctl(self):
        # Expected Functionality
        self.assertTrue(
            self.run_function('service.launchctl', ['error', 'bootstrap', 64]))
        self.assertEqual(
            self.run_function('service.launchctl',
                              ['error', 'bootstrap', 64],
                              return_stdout=True),
            '64: unknown error code')

        # Raise an error
        self.assertIn(
            ' Failed to error service',
            self.run_function('service.launchctl', ['error']))
Given a doc or schema, pass it through a cleanup function prior to mapping
dataset/ETHPy150Open saltstack/salt/tests/integration/modules/mac_service.py/MacServiceModuleTest.test_launchctl--crossover with--dataset/ETHPy150Open dimagi/commcare-hq/corehq/ex-submodules/couchexport/export.py/ExportConfiguration.cleanup