Mock out instance metadata. Make basic connection with iam roles work. Closes #3.

This commit is contained in:
Steve Pulec 2013-03-10 16:55:34 -04:00
commit 9e9e057289
3 changed files with 40 additions and 0 deletions

View file

@ -9,6 +9,11 @@ Test the different ways that the decorator can be used
'''
@mock_ec2
def test_basic_connect():
conn = boto.connect_ec2()
@mock_ec2
def test_basic_decorator():
conn = boto.connect_ec2('the_key', 'the_secret')