From 50a9920b1bd9e6e8cf452c774c499b0b9014ccef Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Tue, 20 Oct 2009 17:04:23 +0200 Subject: Added initial version of the index reading from file - IndexEntry interface is to be improved though, writing needs to be implemented as well --- test/git/test_index.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'test/git/test_index.py') 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 -- cgit v1.2.1