(self)
| 101 | ) |
| 102 | |
| 103 | def testLazyAttributes(self): |
| 104 | comment = self.g.withLazy(True).get_repo("lazy/repo").get_issue(42).get_comment(24) |
| 105 | self.assertEqual(str(comment), "IssueComment(user=None, id=24)") |
| 106 | self.assertEqual(comment.id, 24) |
| 107 | self.assertEqual(comment.url, "/repos/lazy/repo/issues/comments/24") |
| 108 | |
| 109 | def testEdit(self): |
| 110 | self.comment.edit("Comment edited by PyGithub") |
nothing calls this directly
no test coverage detected