Update expected return value in boto test

The expected return from moto has changed from `-1` to `None` in the
latest version of moto (1.3.4). This PR updates the test to be in line
with the return from moto.
This commit is contained in:
rallytime 2018-08-08 09:14:10 -04:00
parent a1e54634dc
commit d0136b1be5
No known key found for this signature in database
GPG key ID: E8F1A4B90D0DEA19

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)