summaryrefslogtreecommitdiff
path: root/git/test/performance/lib.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2011-05-06 18:53:59 +0200
committerSebastian Thiel <byronimo@gmail.com>2011-05-06 18:53:59 +0200
commit7ae36c3e019a5cc16924d1b6007774bfb625036f (patch)
tree52ad2a3cd8187c42a3a02d6b08dda9493a23042b /git/test/performance/lib.py
parentacf5e6ea64a2f24117f1d419c208ed1c38c43690 (diff)
downloadgitpython-7ae36c3e019a5cc16924d1b6007774bfb625036f.tar.gz
Started to fix imports - tests still have no chance to work as database changed drastically. Now the actual work begins
Diffstat (limited to 'git/test/performance/lib.py')
-rw-r--r--git/test/performance/lib.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/git/test/performance/lib.py b/git/test/performance/lib.py
index d0727b60..08c0e91c 100644
--- a/git/test/performance/lib.py
+++ b/git/test/performance/lib.py
@@ -1,11 +1,11 @@
"""Contains library functions"""
import os
-from git.test.lib import *
+from git.test.lib import TestBase
import shutil
import tempfile
from git.db import (
- GitCmdObjectDB,
+ CmdGitDB,
GitDB
)
@@ -54,7 +54,7 @@ class TestBigRepoR(TestBase):
def setUpAll(cls):
super(TestBigRepoR, cls).setUpAll()
repo_path = resolve_or_fail(k_env_git_repo)
- cls.gitrorepo = Repo(repo_path, odbt=GitCmdObjectDB)
+ cls.gitrorepo = Repo(repo_path, odbt=CmdGitDB)
cls.puregitrorepo = Repo(repo_path, odbt=GitDB)
@@ -68,7 +68,7 @@ class TestBigRepoRW(TestBigRepoR):
super(TestBigRepoRW, cls).setUpAll()
dirname = tempfile.mktemp()
os.mkdir(dirname)
- cls.gitrwrepo = cls.gitrorepo.clone(dirname, shared=True, bare=True, odbt=GitCmdObjectDB)
+ cls.gitrwrepo = cls.gitrorepo.clone(dirname, shared=True, bare=True, odbt=CmdGitDB)
cls.puregitrwrepo = Repo(dirname, odbt=GitDB)
@classmethod