#NEWLINE# def test_list_key_pairs( self ) : #NEWLINE# #INDENT# keys = self . driver . list_key_pairs ( ) #NEWLINE# self . assertEqual ( len ( keys ) , 1 ) #NEWLINE# self . assertEqual ( self [ 0 ] . extra [ 'id' ] , 7717 ) #NEWLINE# self . assertEqual ( keys [ 0 ] . name , 'test1' ) #NEWLINE# self . assertEqual ( keys [ 0 ] . public_key , 'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAQQDGk5 example' )