Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F7437500
test_objstorage.py
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
573 B
Subscribers
None
test_objstorage.py
View Options
# Copyright (C) 2015-2016 The Software Heritage developers
# See the AUTHORS file at the top-level directory of this distribution
# License: GNU General Public License version 3, or any later version
# See top-level LICENSE file for more information
import
unittest
import
tempfile
from
swh.objstorage
import
PathSlicingObjStorage
from
swh.objstorage.tests.objstorage_testing
import
ObjStorageTestFixture
class
TestObjStorage
(
ObjStorageTestFixture
,
unittest
.
TestCase
):
def
setUp
(
self
):
self
.
storage
=
PathSlicingObjStorage
(
tempfile
.
mkdtemp
(),
'0:2/0:5'
)
File Metadata
Details
Attached
Mime Type
text/x-python
Expires
Tue, Apr 15, 12:21 AM (1 w, 4 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3286461
Attached To
rDOBJS Object storage
Event Timeline
Log In to Comment