summaryrefslogtreecommitdiff
path: root/git/test/test_repo.py
diff options
context:
space:
mode:
Diffstat (limited to 'git/test/test_repo.py')
-rw-r--r--git/test/test_repo.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/git/test/test_repo.py b/git/test/test_repo.py
index a6be4e66..312e67f9 100644
--- a/git/test/test_repo.py
+++ b/git/test/test_repo.py
@@ -935,6 +935,8 @@ class TestRepo(TestBase):
commit = repo.head.commit
self.assertIsInstance(commit, Object)
+ self.assertIsInstance(repo.heads['aaaaaaaa'], Head)
+
@with_rw_directory
def test_git_work_tree_env(self, rw_dir):
"""Check that we yield to GIT_WORK_TREE"""