aboutsummaryrefslogtreecommitdiff
path: root/git/test/test_db.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/test_db.py
parentacf5e6ea64a2f24117f1d419c208ed1c38c43690 (diff)
downloadGitPython-7ae36c3e019a5cc16924d1b6007774bfb625036f.tar.gz
GitPython-7ae36c3e019a5cc16924d1b6007774bfb625036f.zip
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/test_db.py')
-rw-r--r--git/test/test_db.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/git/test/test_db.py b/git/test/test_db.py
index 5b60644a..825aadd9 100644
--- a/git/test/test_db.py
+++ b/git/test/test_db.py
@@ -3,7 +3,7 @@
#
# This module is part of GitPython and is released under
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
-from git.test.lib import *
+from git.test.lib import TestBase
from git.db import *
from git.util import bin_to_hex
from git.exc import BadObject
@@ -12,7 +12,7 @@ import os
class TestDB(TestBase):
def test_base(self):
- gdb = GitCmdObjectDB(os.path.join(self.rorepo.git_dir, 'objects'), self.rorepo.git)
+ gdb = CmdGitDB(os.path.join(self.rorepo.git_dir, 'objects'), self.rorepo.git)
# partial to complete - works with everything
hexsha = bin_to_hex(gdb.partial_to_complete_sha_hex("0.1.6"))