Skip to main content

providers.testing.objstorage.InMemObjectStorage

In-memory ObjectStorage provider for tests.

Usage

Source

providers.testing.objstorage.InMemObjectStorage()

Tracks which buckets and object IDs exist, but stores no file content. Presigned URLs point to no server, and object sizes, ETags and upload parts are fake values.

Methods

Name Description
__init__() Initialize the in-memory object storage mock.

__init__()

Initialize the in-memory object storage mock.

Usage

Source

__init__()

Type aliases are used here only to clarify dictionary structure.