userver: pytest_userver.plugins.s3api.S3MockBucketStorage Class Reference
Loading...
Searching...
No Matches
pytest_userver.plugins.s3api.S3MockBucketStorage Class Reference

Detailed Description

Definition at line 29 of file s3api.py.

Public Member Functions

 __init__ (self)
 
 put_object (self, str key, bytearray data, Optional[Union[dt.datetime, str]] last_modified=None)
 
Optional[S3Objectget_object (self, str key)
 
Dict[str, S3Objectget_objects (self, parent_dir='')
 
Optional[S3Objectdelete_object (self, key)
 

Static Protected Member Functions

 _generate_etag (data)
 

Constructor & Destructor Documentation

◆ __init__()

pytest_userver.plugins.s3api.S3MockBucketStorage.__init__ ( self)

Definition at line 30 of file s3api.py.

Member Function Documentation

◆ _generate_etag()

pytest_userver.plugins.s3api.S3MockBucketStorage._generate_etag ( data)
staticprotected

Definition at line 35 of file s3api.py.

◆ delete_object()

Optional[S3Object] pytest_userver.plugins.s3api.S3MockBucketStorage.delete_object ( self,
key )

Definition at line 80 of file s3api.py.

◆ get_object()

Optional[S3Object] pytest_userver.plugins.s3api.S3MockBucketStorage.get_object ( self,
str key )

Definition at line 62 of file s3api.py.

◆ get_objects()

Dict[str, S3Object] pytest_userver.plugins.s3api.S3MockBucketStorage.get_objects ( self,
parent_dir = '' )

Definition at line 66 of file s3api.py.

◆ put_object()

pytest_userver.plugins.s3api.S3MockBucketStorage.put_object ( self,
str key,
bytearray data,
Optional[Union[dt.datetime, str]] last_modified = None )

Definition at line 38 of file s3api.py.


The documentation for this class was generated from the following file: