def testShowIssue(self):
        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)

        self.assertEquals('dustin', i.user)
        self.assertEquals('2009-04-17T18:37:04-07:00', i.updated_at)
        self.assertEquals('http://develop.github.com/p/general.html', i.body)
        self.assertEquals('Add auth tokens', i.title)
        self.assertEquals(1, i.number)
        self.assertEquals(0, i.votes)
        self.assertEquals(1.0, i.position)
        self.assertEquals('2009-04-17T17:00:58-07:00', i.created_at)
        self.assertEquals('closed', i.state)
Convenience function returning a ProvDocument instance.
dataset/ETHPy150Open dustin/py-github/github/githubtest.py/IssueTest.testShowIssue--crossover with--dataset/ETHPy150Open trungdong/prov/prov/__init__.py/read