diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2009-10-23 00:14:24 +0200 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2009-10-23 00:14:24 +0200 |
commit | 00499d994fea6fb55a33c788f069782f917dbdd4 (patch) | |
tree | f3de7739d34003a7356bd72769f212a47ebc8993 /test/git/test_commit.py | |
parent | b2a14e4b96a0ffc5353733b50266b477539ef899 (diff) | |
parent | d1bd99c0a376dec63f0f050aeb0c40664260da16 (diff) | |
download | gitpython-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.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) |