Skip to content

Commit 2bfc2e9

Browse files
committed
Fixed test_loose.py
1 parent 09a11c7 commit 2bfc2e9

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

git/test/db/py/test_loose.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,18 @@
22
#
33
# This module is part of GitDB and is released under
44
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
5-
from lib import *
6-
from git.db.py import PureLooseObjectODB
5+
from git.test.db.lib import *
6+
from git.db.py.loose import PureLooseObjectODB
77
from git.exc import BadObject
88
from git.util import bin_to_hex
99

1010
class TestLooseDB(TestDBBase):
1111

12+
RepoCls = PureLooseObjectODB
13+
1214
@with_rw_directory
1315
def test_basics(self, path):
14-
ldb = PureLooseObjectODB(path)
16+
ldb = self.RepoCls(path)
1517

1618
# write data
1719
self._assert_object_writing(ldb)

0 commit comments

Comments
 (0)