

def test_present(self):
    '\n        git.present\n        '
    name = os.path.join(integration.TMP, 'salt_repo')
    try:
        ret = self.run_state('git.present', name=name, bare=True)
        self.assertSaltTrueReturn(ret)
        self.assertTrue(os.path.isfile(os.path.join(ret, 'HEAD')))
    finally:
        shutil.rmtree(name, ignore_errors=True)

dataset/ETHPy150Open saltstack/salt/tests/integration/states/git.py GitTest.test_present/VarMisuse@71/100 `name`->`ret`