summaryrefslogtreecommitdiff
path: root/test/git/test_commit.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2009-10-23 00:14:24 +0200
committerSebastian Thiel <byronimo@gmail.com>2009-10-23 00:14:24 +0200
commit00499d994fea6fb55a33c788f069782f917dbdd4 (patch)
treef3de7739d34003a7356bd72769f212a47ebc8993 /test/git/test_commit.py
parentb2a14e4b96a0ffc5353733b50266b477539ef899 (diff)
parentd1bd99c0a376dec63f0f050aeb0c40664260da16 (diff)
downloadgitpython-00499d994fea6fb55a33c788f069782f917dbdd4.tar.gz
Merge branch 'symbolic_ref' into improvements
* symbolic_ref: SymbolicReferences can now change they references safely as I think and well controlled, including test. Adjusted tests to deal with API changes Added SymbolicReference and HEAD type to better represent these special types of references and allow special handling
Diffstat (limited to 'test/git/test_commit.py')
-rw-r--r--test/git/test_commit.py2
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)