def test_start(self):
        mock = MagicMock(return_value=True)
        with patch.object(xapi, "start", mock):
            self.assertTrue(xapi.start("salt"))
Create and commit the root config file.
dataset/ETHPy150Open saltstack/salt/tests/unit/modules/xapi_test.py/XapiTestCase.test_start--crossover with--dataset/ETHPy150Open bloomberg/phabricator-tools/py/abd/abdt_fs.py/Accessor.create_root_config