Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 2bfc2e9

Browse filesBrowse files
committed
Fixed test_loose.py
1 parent 09a11c7 commit 2bfc2e9
Copy full SHA for 2bfc2e9

1 file changed

+5-3Lines changed: 5 additions & 3 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎git/test/db/py/test_loose.py‎

Copy file name to clipboardExpand all lines: git/test/db/py/test_loose.py
+5-3Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.