(self)
| 82 | self.assertEqual(repr(self.comment), 'CommitComment(user=NamedUser(login="jacquev6"), id=1362000)') |
| 83 | |
| 84 | def testLazyAttributes(self): |
| 85 | comment = self.g.withLazy(True).get_repo("lazy/repo").get_comment(42) |
| 86 | self.assertEqual(str(comment), "CommitComment(user=None, id=42)") |
| 87 | self.assertEqual(comment.id, 42) |
| 88 | self.assertEqual(comment.url, "/repos/lazy/repo/comments/42") |
| 89 | |
| 90 | def testEdit(self): |
| 91 | self.comment.edit("Comment edited by PyGithub") |
nothing calls this directly
no test coverage detected