Addition of region to test_security_group_tagging_boto3

This commit is contained in:
Paul Cieslar 2016-06-23 12:38:17 +01:00 committed by GitHub
parent 35d200c420
commit 8e6dd13738

View File

@ -335,7 +335,7 @@ Boto3
@mock_ec2
def test_security_group_tagging_boto3():
conn = boto3.client('ec2')
conn = boto3.client('ec2', region_name='us-east-1')
sg = conn.create_security_group(GroupName="test-sg", Description="Test SG")
conn.create_tags(Resources=[sg['GroupId']], Tags=[{'Key': 'Test', 'Value': 'Tag'}])
describe = conn.describe_security_groups(Filters=[{'Name': 'tag-value', 'Values': ['Tag']}])