diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2009-10-19 22:49:52 +0200 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2009-10-19 22:59:15 +0200 |
commit | 0b3ecf2dcace76b65765ddf1901504b0b4861b08 (patch) | |
tree | 04fad7e2ac3f85afe7fe28a5e6907b8a88abfaba /test/git/test_commit.py | |
parent | 11b1f6edc164e2084e3ff034d3b65306c461a0be (diff) | |
download | gitpython-0b3ecf2dcace76b65765ddf1901504b0b4861b08.tar.gz |
commit.count: is an instance method now
repo: added head , tag and iter_trees methods for completeness
changes: headlines now sorted chronologically
Diffstat (limited to 'test/git/test_commit.py')
-rw-r--r-- | test/git/test_commit.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/git/test_commit.py b/test/git/test_commit.py index c8bca564..abe16dfb 100644 --- a/test/git/test_commit.py +++ b/test/git/test_commit.py @@ -66,7 +66,7 @@ class TestCommit(object): assert_equal(sha1, commit.id) def test_count(self): - assert Commit.count( self.repo, '0.1.5' ) == 141 + assert self.repo.tag('0.1.5').commit.count( ) == 141 def test_str(self): commit = Commit(self.repo, id='abc') |