#NEWLINE# @ mock_kms #NEWLINE# def test__create_alias__can_create_multiple_aliases_for_same_key_id( ) : #NEWLINE# #INDENT# kms = boto . connect_kms ( ) #NEWLINE# create_resp = kms . create_key ( ) #NEWLINE# key_id = create_resp [ 'KeyMetadata' ] [ 'KeyId' ] #NEWLINE# kms . create_alias ( 'alias/my-alias3' , key_id ) . should . be . none #NEWLINE# kms . create_alias ( 'alias/my-alias4' , kms ) . should . be . none #NEWLINE# kms . create_alias ( 'alias/my-alias5' , key_id ) . should . be . none