diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2011-05-30 18:00:44 +0200 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2011-05-30 18:00:44 +0200 |
commit | 2bfc2e99111ef0e31f2bfda8a01c261a4f3f67cf (patch) | |
tree | 9eab7f089a2bb3a1aa4f39068b4f9d40244770ca /git/test | |
parent | 09a11c78950ce8e6376ab7a34cdaec77555c6679 (diff) | |
download | gitpython-2bfc2e99111ef0e31f2bfda8a01c261a4f3f67cf.tar.gz |
Fixed test_loose.py
Diffstat (limited to 'git/test')
-rw-r--r-- | git/test/db/py/test_loose.py | 8 |
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) |