Merge pull request #2717 from bblommers/feature/s3_illegallocationconstraint

S3 Feature: Add IllegalLocationConstraintException
This commit is contained in:
Steve Pulec 2020-02-15 10:41:00 -06:00 committed by GitHub
commit e40d75359a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 282 additions and 150 deletions

View file

@ -143,7 +143,7 @@ def test_create_stack_with_notification_arn():
@mock_s3_deprecated
def test_create_stack_from_s3_url():
s3_conn = boto.s3.connect_to_region("us-west-1")
bucket = s3_conn.create_bucket("foobar")
bucket = s3_conn.create_bucket("foobar", location="us-west-1")
key = boto.s3.key.Key(bucket)
key.key = "template-key"
key.set_contents_from_string(dummy_template_json)