From 2bfc2e99111ef0e31f2bfda8a01c261a4f3f67cf Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Mon, 30 May 2011 18:00:44 +0200 Subject: Fixed test_loose.py --- git/test/db/py/test_loose.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'git/test') 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) -- cgit v1.2.1