diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2010-06-28 22:25:12 +0200 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2010-06-28 22:25:12 +0200 |
commit | f1401803ccf7db5d897a5ef4b27e2176627c430e (patch) | |
tree | 85800758d4525fb90c7e84f10852290deb49986e /test/git/performance/test_commit.py | |
parent | 8d2239f24f6a54d98201413d4f46256df0d6a5f3 (diff) | |
download | gitpython-f1401803ccf7db5d897a5ef4b27e2176627c430e.tar.gz |
Fixed performance tests which broke in the course of the sha1-20 byte changes
Diffstat (limited to 'test/git/performance/test_commit.py')
-rw-r--r-- | test/git/performance/test_commit.py | 3 |
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 |