Changeset View
Changeset View
Standalone View
Standalone View
swh/objstorage/tests/test_objstorage_instantiation.py
# Copyright (C) 2015-2016 The Software Heritage developers | # Copyright (C) 2015-2016 The Software Heritage developers | ||||
# See the AUTHORS file at the top-level directory of this distribution | # See the AUTHORS file at the top-level directory of this distribution | ||||
# License: GNU General Public License version 3, or any later version | # License: GNU General Public License version 3, or any later version | ||||
# See top-level LICENSE file for more information | # See top-level LICENSE file for more information | ||||
import shutil | import shutil | ||||
import tempfile | import tempfile | ||||
import unittest | import unittest | ||||
from swh.objstorage import get_objstorage | from swh.objstorage import get_objstorage | ||||
from swh.objstorage.api.client import RemoteObjStorage | from swh.objstorage.api.client import RemoteObjStorage | ||||
from swh.objstorage.objstorage_pathslicing import PathSlicingObjStorage | from swh.objstorage.backends.pathslicing import PathSlicingObjStorage | ||||
class TestObjStorageInitialization(unittest.TestCase): | class TestObjStorageInitialization(unittest.TestCase): | ||||
""" Test that the methods for ObjStorage initializations with | """ Test that the methods for ObjStorage initializations with | ||||
`get_objstorage` works properly. | `get_objstorage` works properly. | ||||
""" | """ | ||||
def setUp(self): | def setUp(self): | ||||
Show All 29 Lines |