Change type for IpProtocol key

This commit is contained in:
Yann Lambret 2016-04-20 23:21:39 +02:00
parent f9267cff6c
commit 232b832563

View File

@ -212,7 +212,7 @@ def test_authorize_other_group_egress_and_revoke():
sg02 = ec2.create_security_group(GroupName='sg02', Description='Test security group sg02', VpcId=vpc.id)
ip_permission = {
'IpProtocol': u'tcp',
'IpProtocol': 'tcp',
'FromPort': 27017,
'ToPort': 27017,
'UserIdGroupPairs': [{'GroupId': sg02.id, 'GroupName': 'sg02', 'UserId': sg02.owner_id}],