diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2009-10-20 17:04:23 +0200 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2009-10-20 17:04:23 +0200 |
commit | 50a9920b1bd9e6e8cf452c774c499b0b9014ccef (patch) | |
tree | dbba9eb3c3858022cd7f6bf1c79b8756692b7f30 /test/git/test_index.py | |
parent | 4a534eba97db3c2cfb2926368756fd633d25c056 (diff) | |
download | gitpython-50a9920b1bd9e6e8cf452c774c499b0b9014ccef.tar.gz |
Added initial version of the index reading from file - IndexEntry interface is to be improved though, writing needs to be implemented as well
Diffstat (limited to 'test/git/test_index.py')
-rw-r--r-- | test/git/test_index.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/git/test_index.py b/test/git/test_index.py index f58405d2..272e68b3 100644 --- a/test/git/test_index.py +++ b/test/git/test_index.py @@ -14,4 +14,6 @@ class TestTree(TestCase): cls.repo = Repo(GIT_REPO) def test_base(self): - self.fail("TODO") + index = Index.from_file(fixture_path("index")) + assert index.entries + assert index.version > 0 |