toil.test.lib.aws.test_s3

Module Contents

Classes

S3Test

Confirm the workarounds for us-east-1.

Attributes

logger

toil.test.lib.aws.test_s3.logger
class toil.test.lib.aws.test_s3.S3Test(methodName='runTest')

Bases: toil.test.ToilTest

digraph inheritance7a543ad6a3 { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "S3Test" [URL="#toil.test.lib.aws.test_s3.S3Test",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Confirm the workarounds for us-east-1."]; "ToilTest" -> "S3Test" [arrowsize=0.5,style="setlinewidth(0.5)"]; "TestCase" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",tooltip="A class whose instances are single test cases."]; "ToilTest" [URL="../../../index.html#toil.test.ToilTest",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="A common base class for Toil tests."]; "TestCase" -> "ToilTest" [arrowsize=0.5,style="setlinewidth(0.5)"]; }

Confirm the workarounds for us-east-1.

s3_resource: Optional[mypy_boto3_s3.S3ServiceResource]
bucket: Optional[mypy_boto3_s3.service_resource.Bucket]
classmethod setUpClass()

Hook method for setting up class fixture before running tests in the class.

Return type

None

test_create_bucket()

Test bucket creation for us-east-1.

Return type

None

test_get_bucket_location_public_bucket()

Test getting buket location for a bucket we don’t own.

Return type

None

classmethod tearDownClass()

Hook method for deconstructing the class fixture after running all tests in the class.

Return type

None