Mock out instance metadata. Make basic connection with iam roles work. Closes #3.
This commit is contained in:
parent
1cc0e0eac7
commit
9e9e057289
3 changed files with 40 additions and 0 deletions
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue