diff options
| author | Sebastian Thiel <byronimo@gmail.com> | 2009-10-23 11:07:04 +0200 |
|---|---|---|
| committer | Sebastian Thiel <byronimo@gmail.com> | 2009-10-23 11:07:04 +0200 |
| commit | 3d3a24b22d340c62fafc0e75a349c0ffe34d99d7 (patch) | |
| tree | f4487593b2b67b5c50b96dcb398a5cd0b3821ab0 /test/git/test_repo.py | |
| parent | a10aa36bc6a82bd50df6f3df7d6b7ce04a7070f1 (diff) | |
| download | gitpython-3d3a24b22d340c62fafc0e75a349c0ffe34d99d7.tar.gz | |
Added repo.index property including simple test, and additional ideas in the TODO list
Diffstat (limited to 'test/git/test_repo.py')
| -rw-r--r-- | test/git/test_repo.py | 6 |
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 |
