summaryrefslogtreecommitdiff
path: root/test/git/test_commit.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2009-10-19 23:44:18 +0200
committerSebastian Thiel <byronimo@gmail.com>2009-10-19 23:44:18 +0200
commit989671780551b7587d57e1d7cb5eb1002ade75b4 (patch)
treeef1c02449ee980c2f0fa6182a537fc3412830a39 /test/git/test_commit.py
parentb9cb007076542e32f7b99bb18bc6ec424f3b407b (diff)
downloadgitpython-989671780551b7587d57e1d7cb5eb1002ade75b4.tar.gz
Implemneted IterableLists for refs, commits and remote objects including simple tests
Diffstat (limited to 'test/git/test_commit.py')
-rw-r--r--test/git/test_commit.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/git/test_commit.py b/test/git/test_commit.py
index abe16dfb..3d7feb6d 100644
--- a/test/git/test_commit.py
+++ b/test/git/test_commit.py
@@ -67,6 +67,9 @@ class TestCommit(object):
def test_count(self):
assert self.repo.tag('0.1.5').commit.count( ) == 141
+
+ def test_list(self):
+ assert isinstance(Commit.list_items(self.repo, '0.1.5', max_count=5)['5117c9c8a4d3af19a9958677e45cda9269de1541'], Commit)
def test_str(self):
commit = Commit(self.repo, id='abc')