diff options
| author | Sebastian Thiel <byronimo@gmail.com> | 2011-05-06 18:53:59 +0200 |
|---|---|---|
| committer | Sebastian Thiel <byronimo@gmail.com> | 2011-05-06 18:53:59 +0200 |
| commit | 7ae36c3e019a5cc16924d1b6007774bfb625036f (patch) | |
| tree | 52ad2a3cd8187c42a3a02d6b08dda9493a23042b /git/test/test_db.py | |
| parent | acf5e6ea64a2f24117f1d419c208ed1c38c43690 (diff) | |
| download | GitPython-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.py | 4 |
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")) |
