From f1401803ccf7db5d897a5ef4b27e2176627c430e Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Mon, 28 Jun 2010 22:25:12 +0200 Subject: Fixed performance tests which broke in the course of the sha1-20 byte changes --- test/git/performance/test_commit.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/git/performance/test_commit.py') diff --git a/test/git/performance/test_commit.py b/test/git/performance/test_commit.py index 0571d0d9..a951f242 100644 --- a/test/git/performance/test_commit.py +++ b/test/git/performance/test_commit.py @@ -6,6 +6,7 @@ from lib import * from git import * +from gitdb import IStream from test.git.test_commit import assert_commit_serialization from cStringIO import StringIO from time import time @@ -91,7 +92,7 @@ class TestPerformance(TestBigRepoRW): slen = stream.tell() stream.seek(0) - cm.sha = make_object(IStream(Commit.type, slen, stream)).sha + cm.binsha = make_object(IStream(Commit.type, slen, stream)).binsha # END commit creation elapsed = time() - st -- cgit v1.2.1