This commit is contained in:
Steve Pulec 2013-03-05 08:35:18 -05:00
commit e993917d4c
57 changed files with 53 additions and 71 deletions

View file

@ -1,6 +1,6 @@
import boto
from boto.exception import EC2ResponseError
from sure import expect
import sure # flake8: noqa
from moto import mock_ec2
@ -10,7 +10,7 @@ def test_create_and_describe_security_group():
conn = boto.connect_ec2('the_key', 'the_secret')
security_group = conn.create_security_group('test security group', 'this is a test security group')
expect(security_group.name).should.equal('test security group')
security_group.name.should.equal('test security group')
security_group.description.should.equal('this is a test security group')
# Trying to create another group with the same name should throw an error