Merge pull request #48999 from rallytime/fix-boto-test

Update expected return value in boto test
This commit is contained in:
Nicole Thomas 2018-08-08 10:42:14 -04:00 committed by GitHub
commit 41d9f11eb3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -210,7 +210,7 @@ class BotoSecgroupTestCase(TestCase, LoaderModuleMockMixin):
from_port = 22
to_port = 22
cidr_ip = u'0.0.0.0/0'
rules_egress = [{'to_port': -1, 'from_port': -1, 'ip_protocol': u'-1', 'cidr_ip': u'0.0.0.0/0'}]
rules_egress = [{'to_port': None, 'from_port': None, 'ip_protocol': u'-1', 'cidr_ip': u'0.0.0.0/0'}]
conn = boto.ec2.connect_to_region(region, **boto_conn_parameters)
group = conn.create_security_group(name=group_name, description=group_name)