summaryrefslogtreecommitdiff
path: root/test/git/test_diff.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2009-10-18 13:24:04 +0200
committerSebastian Thiel <byronimo@gmail.com>2009-10-18 13:24:04 +0200
commite063d101face690b8cf4132fa419c5ce3857ef44 (patch)
treef6b9fd358a81217be320100436c82948dd201855 /test/git/test_diff.py
parentaed099a73025422f0550f5dd5c3e4651049494b2 (diff)
downloadgitpython-e063d101face690b8cf4132fa419c5ce3857ef44.tar.gz
diff: implemented raw diff parsing which appears to be able to handle possible input types, DiffIndex still requires implementation though
Diffstat (limited to 'test/git/test_diff.py')
-rw-r--r--test/git/test_diff.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/git/test_diff.py b/test/git/test_diff.py
index 166ce310..c9604faf 100644
--- a/test/git/test_diff.py
+++ b/test/git/test_diff.py
@@ -52,11 +52,12 @@ class TestDiff(TestCase):
for paths in (None, "CHANGES", ("CHANGES", "lib")):
for create_patch in range(2):
diff_index = diff_item.diff(other, paths, create_patch)
- assert diff_index
+ assert isinstance(diff_index, DiffIndex)
+
+ # TODO: test diff index
# END for each patch option
# END for each path option
# END for each other side
# END for each commit
-
self.fail( "TODO: Test full diff interface on commits, trees, index, patch and non-patch" )