summaryrefslogtreecommitdiff
path: root/git/test
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2011-05-30 18:00:44 +0200
committerSebastian Thiel <byronimo@gmail.com>2011-05-30 18:00:44 +0200
commit2bfc2e99111ef0e31f2bfda8a01c261a4f3f67cf (patch)
tree9eab7f089a2bb3a1aa4f39068b4f9d40244770ca /git/test
parent09a11c78950ce8e6376ab7a34cdaec77555c6679 (diff)
downloadgitpython-2bfc2e99111ef0e31f2bfda8a01c261a4f3f67cf.tar.gz
Fixed test_loose.py
Diffstat (limited to 'git/test')
-rw-r--r--git/test/db/py/test_loose.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/git/test/db/py/test_loose.py b/git/test/db/py/test_loose.py
index 16c12d8e..eb18c05d 100644
--- a/git/test/db/py/test_loose.py
+++ b/git/test/db/py/test_loose.py
@@ -2,16 +2,18 @@
#
# This module is part of GitDB and is released under
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
-from lib import *
-from git.db.py import PureLooseObjectODB
+from git.test.db.lib import *
+from git.db.py.loose import PureLooseObjectODB
from git.exc import BadObject
from git.util import bin_to_hex
class TestLooseDB(TestDBBase):
+ RepoCls = PureLooseObjectODB
+
@with_rw_directory
def test_basics(self, path):
- ldb = PureLooseObjectODB(path)
+ ldb = self.RepoCls(path)
# write data
self._assert_object_writing(ldb)