(self)
| 102 | self.assertEqual(repr(self.comment), 'PullRequestComment(user=NamedUser(login="jacquev6"), id=1580134)') |
| 103 | |
| 104 | def testLazyAttributes(self): |
| 105 | issue = self.g.withLazy(True).get_repo("lazy/repo").get_pull(42).get_comment(24) |
| 106 | self.assertEqual(str(issue), "PullRequestComment(user=None, id=24)") |
| 107 | self.assertEqual(issue.id, 24) |
| 108 | self.assertEqual(issue.url, "/repos/lazy/repo/pulls/comments/24") |
| 109 | |
| 110 | def testEdit(self): |
| 111 | self.comment.edit("Comment edited by PyGithub") |
nothing calls this directly
no test coverage detected