diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2009-10-22 23:20:16 +0200 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2009-10-22 23:20:16 +0200 |
commit | 58e2157ad3aa9d75ef4abb90eb2d1f01fba0ba2b (patch) | |
tree | 3487e8a52687317cba7cc369a094459db4fdd770 /test/git/test_commit.py | |
parent | b2a14e4b96a0ffc5353733b50266b477539ef899 (diff) | |
download | gitpython-58e2157ad3aa9d75ef4abb90eb2d1f01fba0ba2b.tar.gz |
Added SymbolicReference and HEAD type to better represent these special types of references and allow special handling
Head.reset now is an instance method of HEAD type
Concatenated all reference specific tests into test_refs
started to fix tests breaking now because of changed interface
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 1a74593d..c4ed4b72 100644 --- a/test/git/test_commit.py +++ b/test/git/test_commit.py @@ -64,7 +64,7 @@ class TestCommit(TestBase): assert_equal(sha1, commit.id) def test_count(self): - assert self.rorepo.tag('0.1.5').commit.count( ) == 141 + assert self.rorepo.tag('refs/tags/0.1.5').commit.count( ) == 141 def test_list(self): assert isinstance(Commit.list_items(self.rorepo, '0.1.5', max_count=5)['5117c9c8a4d3af19a9958677e45cda9269de1541'], Commit) |