summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/fixtures/indexbin0 -> 163616 bytes
-rw-r--r--test/git/test_index.py4
2 files changed, 3 insertions, 1 deletions
diff --git a/test/fixtures/index b/test/fixtures/index
new file mode 100644
index 00000000..40914bac
--- /dev/null
+++ b/test/fixtures/index
Binary files differ
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