summaryrefslogtreecommitdiff
path: root/test/git/test_commit.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2010-04-30 09:57:03 +0200
committerSebastian Thiel <byronimo@gmail.com>2010-04-30 09:57:03 +0200
commit0d6ceabf5b90e7c0690360fc30774d36644f563c (patch)
tree0324cacca04f12df94140c98c69f0bc5e4aa91d5 /test/git/test_commit.py
parentb75c3103a700ac65b6cd18f66e2d0a07cfc09797 (diff)
downloadgitpython-0d6ceabf5b90e7c0690360fc30774d36644f563c.tar.gz
Added additional tz_offset testing in performance test to call it more often.
Fixed test which required to be on master to work - it now uses the HEAD symbolic ref instead.
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 e8bc078a..48937c93 100644
--- a/test/git/test_commit.py
+++ b/test/git/test_commit.py
@@ -97,7 +97,7 @@ class TestCommit(TestBase):
def test_iteration(self):
# we can iterate commits
- all_commits = Commit.list_items(self.rorepo, 'master')
+ all_commits = Commit.list_items(self.rorepo, self.rorepo.head)
assert all_commits
assert all_commits == list(self.rorepo.iter_commits())