From 9eeb375911420416d5b6ad78ca3062b231a85ceb Mon Sep 17 00:00:00 2001 From: Bert Blommers Date: Tue, 10 Mar 2020 09:26:44 +0000 Subject: [PATCH] Add region to test case --- tests/test_ec2/test_tags.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_ec2/test_tags.py b/tests/test_ec2/test_tags.py index 789f7b976..92ed18dd4 100644 --- a/tests/test_ec2/test_tags.py +++ b/tests/test_ec2/test_tags.py @@ -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],