implement test for create_key_pair
This commit is contained in:
parent
65beb30054
commit
ddfe478479
4 changed files with 47 additions and 9 deletions
|
|
@ -14,4 +14,4 @@ def test_key_pairs_empty():
|
|||
def test_key_pairs_create():
|
||||
conn = boto.connect_ec2('the_key', 'the_secret')
|
||||
kp = conn.create_key_pair('foo')
|
||||
assert kp.material.startswith('-----BEGIN RSA PRIVATE KEY-----')
|
||||
assert kp.material.startswith('---- BEGIN RSA PRIVATE KEY ----')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue