summaryrefslogtreecommitdiff
path: root/test/git/test_repo.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/git/test_repo.py')
-rw-r--r--test/git/test_repo.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/git/test_repo.py b/test/git/test_repo.py
index b02610f4..4995d901 100644
--- a/test/git/test_repo.py
+++ b/test/git/test_repo.py
@@ -170,7 +170,11 @@ class TestRepo(TestBase):
def test_head(self):
assert self.rorepo.head.reference.object == self.rorepo.active_branch.object
-
+
+ def test_index(self):
+ index = self.rorepo.index
+ assert isinstance(index, IndexFile)
+
def test_tag(self):
assert self.rorepo.tag('refs/tags/0.1.5').commit