#NEWLINE# def testKeysList( self ) : #NEWLINE# #INDENT# 'Test key listing.' #NEWLINE# kl = self . _agh ( 'https://github.com/api/v2/xml/user/keys?login=dustin&token=blahblah' , 'dustin' , 'blahblah' , 'data/keys.xml' ) . users . keys ( ) #NEWLINE# self . assertEquals ( 7 , len ( kl ) ) #NEWLINE# k = kl [ 0 ] #NEWLINE# self . assertEquals ( 'some key' , k . title ) #NEWLINE# self . assertEquals ( 2181 , k . id ) #NEWLINE# self . assertEquals ( 549 , k . key . find ( 'cdEXwCSjAIFp8iRqh3GOkxGyFSc25qv/MuOBg==' ) )