diff options
Diffstat (limited to 'test/git')
-rw-r--r-- | test/git/test_commit.py | 2 | ||||
-rw-r--r-- | test/git/test_performance.py | 3 |
2 files changed, 4 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()) diff --git a/test/git/test_performance.py b/test/git/test_performance.py index 588f1e14..72acfcac 100644 --- a/test/git/test_performance.py +++ b/test/git/test_performance.py @@ -13,9 +13,12 @@ class TestPerformance(TestBase): def _query_commit_info(self, c): c.author c.authored_date + c.author_tz_offset c.committer c.committed_date + c.committer_tz_offset c.message + c.parents def test_iteration(self): num_objs = 0 |