Add region to test case

This commit is contained in:
Bert Blommers 2020-03-10 09:26:44 +00:00 committed by GitHub
parent dc98fca853
commit 9eeb375911
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -472,7 +472,7 @@ def test_delete_tag_empty_resource():
@mock_ec2
def test_retrieve_resource_with_multiple_tags():
ec2 = boto3.resource("ec2")
ec2 = boto3.resource("ec2", region_name="us-west-1")
blue, green = ec2.create_instances(ImageId="ANY_ID", MinCount=2, MaxCount=2)
ec2.create_tags(
Resources=[blue.instance_id],