(self)
| 66 | ) |
| 67 | |
| 68 | def testLazyAttributes(self): |
| 69 | comment = self.g.withLazy(True).get_gist("lazy").get_comment(42) |
| 70 | self.assertEqual(str(comment), "GistComment(user=None, id=42)") |
| 71 | self.assertEqual(comment.id, 42) |
| 72 | self.assertEqual(comment.url, "/gists/lazy/comments/42") |
| 73 | |
| 74 | def testEdit(self): |
| 75 | self.comment.edit("Comment edited by PyGithub") |
nothing calls this directly
no test coverage detected