

def test_init(self):
    '\n        Use git.init to init a new repo\n        '
    new_repo = tempfile.mkdtemp(dir=integration.TMP)
    self.assertEqual(self.run_function('git.init', [new_repo]), 'Initialized empty Git repository in {0}/.git/'.format(new_repo))
    shutil.rmtree(new_repo)

dataset/ETHPy150Open saltstack/salt/tests/integration/modules/git.py GitModuleTest.test_init/original