aboutsummaryrefslogtreecommitdiff
path: root/test/git
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2009-11-04 16:26:03 +0100
committerSebastian Thiel <byronimo@gmail.com>2009-11-04 16:26:03 +0100
commit52bb0046c0bf0e50598c513e43b76d593f2cbbff (patch)
treea02972d19613131d428c98dec0a1d414b84c5274 /test/git
parentf41d42ee7e264ce2fc32cea555e5f666fa1b1fe9 (diff)
downloadGitPython-52bb0046c0bf0e50598c513e43b76d593f2cbbff.tar.gz
GitPython-52bb0046c0bf0e50598c513e43b76d593f2cbbff.zip
added query for 'M' modified diffs to DiffIndex including test. The latter one was made faster by reducing the amount of permutations to the minimal value
Diffstat (limited to 'test/git')
-rw-r--r--test/git/test_diff.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/git/test_diff.py b/test/git/test_diff.py
index ead231e5..9335aced 100644
--- a/test/git/test_diff.py
+++ b/test/git/test_diff.py
@@ -41,7 +41,7 @@ class TestDiff(TestBase):
def test_diff_interface(self):
# test a few variations of the main diff routine
assertion_map = dict()
- for i, commit in enumerate(self.rorepo.iter_commits('0.1.6', max_count=10)):
+ for i, commit in enumerate(self.rorepo.iter_commits('0.1.6', max_count=2)):
diff_item = commit
if i%2 == 0:
diff_item = commit.tree