(self)
| 129 | self.assertEqual(comment.position, None) |
| 130 | |
| 131 | def testCreateCommentOnFileLine(self): |
| 132 | comment = self.commit.create_comment( |
| 133 | "Comment created by PyGithub", |
| 134 | path="codegen/templates/GithubObject.MethodBody.UseResult.py", |
| 135 | line=26, |
| 136 | ) |
| 137 | self.assertEqual(comment.id, 1362000) |
| 138 | self.assertEqual(comment.line, 26) |
| 139 | self.assertEqual(comment.path, "codegen/templates/GithubObject.MethodBody.UseResult.py") |
| 140 | self.assertEqual(comment.position, None) |
| 141 | |
| 142 | def testCreateCommentOnFilePosition(self): |
| 143 | comment = self.commit.create_comment( |
nothing calls this directly
no test coverage detected