import boto3
from testcontainer_python_minio import MinioContainer
def test_something():
config = MinioContainer()
with config as container:
endpoint_url = container.get_url()
s3_client = boto3.client(
"s3",
endpoint_url=endpoint_url,
aws_access_key_id=container.accessKey(),
aws_secret_access_key=container.secretKey(),
)
# do something...
-
Notifications
You must be signed in to change notification settings - Fork 0
Python Testcontainer for Minio
License
Serviceware/testcontainer-python-minio
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Python Testcontainer for Minio
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published