summaryrefslogtreecommitdiff
path: root/test/git/test_commit.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2009-10-15 12:09:16 +0200
committerSebastian Thiel <byronimo@gmail.com>2009-10-15 12:09:29 +0200
commit2da2b90e6930023ec5739ae0b714bbdb30874583 (patch)
tree506303c27732783c4a06cfd4fe8cf62d63bd42e7 /test/git/test_commit.py
parent58d692e2a1d7e3894dbed68efbcf7166d6ec3fb7 (diff)
downloadgitpython-2da2b90e6930023ec5739ae0b714bbdb30874583.tar.gz
repo: removed a few methods because of redundancy or because it will be obsolete once the interface overhaul is finished. This commit is just intermediate
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 a95fb675..46aff635 100644
--- a/test/git/test_commit.py
+++ b/test/git/test_commit.py
@@ -215,6 +215,9 @@ class TestCommit(object):
for sha1, commit in zip(expected_ids, commits):
assert_equal(sha1, commit.id)
+ def test_count(self):
+ assert Commit.count( self.repo, '0.1.5' ) == 141
+
def test_str(self):
commit = Commit(self.repo, id='abc')
assert_equal ("abc", str(commit))