#NEWLINE# def testShowIssue( self ) : #NEWLINE# #INDENT# 'Show an individual issue.' #NEWLINE# i = self . _gh ( 'https://github.com/api/v2/xml/issues/show/dustin/py-github/1' , 'data/issues.show.xml' ) . issues . show ( 'dustin' , 'py-github' , 1 ) #NEWLINE# self . assertEquals ( 'dustin' , i . user ) #NEWLINE# self . assertEquals ( '2009-04-17T18:37:04-07:00' , self . updated_at ) #NEWLINE# self . assertEquals ( 'http://develop.github.com/p/general.html' , i . body ) #NEWLINE# self . assertEquals ( 'Add auth tokens' , i . title ) #NEWLINE# self . assertEquals ( 1 , i . number ) #NEWLINE# self . assertEquals ( 0 , i . votes ) #NEWLINE# self . assertEquals ( 1.0 , i . position ) #NEWLINE# self . assertEquals ( '2009-04-17T17:00:58-07:00' , i . created_at ) #NEWLINE# self . assertEquals ( 'closed' , i . state )