Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F7437700
test_objstorage_noop.py
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
512 B
Subscribers
None
test_objstorage_noop.py
View Options
# Copyright (C) 2021 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
from
swh.objstorage.factory
import
get_objstorage
from
swh.objstorage.objstorage
import
ObjStorage
def
test_instantiate_noop_objstorage
():
objstorage
=
get_objstorage
(
cls
=
"noop"
)
assert
objstorage
is
not
None
assert
isinstance
(
objstorage
,
ObjStorage
)
File Metadata
Details
Attached
Mime Type
text/x-python
Expires
Tue, Apr 15, 2:21 AM (8 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3238931
Attached To
rDOBJS Object storage
Event Timeline
Log In to Comment