def test_is_git_directory(self):
        directory = mkdtemp()

        Repo.init(directory)

        self.assertTrue(is_git_repo(directory))
Detects a directory that has been initialized for Git.
dataset/ETHPy150Open robmadole/jig/src/jig/gitutils/tests/test_checks.py/TestIsGitRepo.test_is_git_directory