summaryrefslogtreecommitdiff
path: root/test/git/performance/test_commit.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/git/performance/test_commit.py')
-rw-r--r--test/git/performance/test_commit.py3
1 files changed, 2 insertions, 1 deletions
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