def test_present_empty_dir(self):
        name = os.path.join(integration.TMP, 'salt_repo')
        if not os.path.isdir(name):
            os.mkdir(name)
        try:
            ret = self.run_state(
                'git.present',
                name=name,
                bare=True
            )
            self.assertSaltTrueReturn(ret)
            self.assertTrue(os.path.isfile(os.path.join(name, 'HEAD')))
        finally:
            shutil.rmtree(name, ignore_errors=True)
Create with network.
dataset/ETHPy150Open saltstack/salt/tests/integration/states/git.py/GitTest.test_present_empty_dir--crossover with--dataset/ETHPy150Open F-Secure/see/see/context/resources/test/qemu_test.py/DomainCreateTest.test_create_network