#NEWLINE# def testListIssues( self ) : #NEWLINE# #INDENT# 'Test listing issues.' #NEWLINE# il = self . _gh ( 'https://github.com/api/v2/xml/issues/list/schacon/simplegit/open' , 'data/issues.list.xml' ) . issues . list ( 'schacon' , 'simplegit' ) #NEWLINE# self . assertEquals ( 1 , len ( il ) ) #NEWLINE# i = il [ 0 ] #NEWLINE# self . assertEquals ( 'schacon' , i . user ) #NEWLINE# self . assertEquals ( '2009-04-17T16:19:02-07:00' , i . updated_at ) #NEWLINE# self . assertEquals ( 'something' , i . body ) #NEWLINE# self . assertEquals ( 'new' , i . title ) #NEWLINE# self . assertEquals ( 2 , i . number ) #NEWLINE# self . assertEquals ( 0 , i . votes ) #NEWLINE# self . assertEquals ( 1.0 , i . position ) #NEWLINE# self . assertEquals ( '2009-04-17T16:18:50-07:00' , i . created_at ) #NEWLINE# self . assertEquals ( 'open' , i . state )