#NEWLINE# def assertInvalidKeypair( self , expected_message , name ) : #NEWLINE# #INDENT# msg = ( 'Keypair data is invalid: %s' % expected_message ) #NEWLINE# self . assertKeypairRaises ( exception . InvalidKeypair , name , name )