MCPcopy Index your code
hub / github.com/PyGithub/PyGithub / testCreateComment

Method testCreateComment

tests/PullRequest.py:227–230  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

225 self.assertEqual(pull.url, "/repos/lazy/repo/pulls/42")
226
227 def testCreateComment(self):
228 commit = self.repo.get_commit("8a4f306d4b223682dd19410d4a9150636ebe4206")
229 comment = self.pull.create_comment("Comment created by PyGithub", commit, "src/github/Issue.py", 5)
230 self.assertEqual(comment.id, 886298)
231
232 def testCreateReviewCommentInReplyTo(self):
233 commit = self.repo.get_commit("8a4f306d4b223682dd19410d4a9150636ebe4206")

Callers

nothing calls this directly

Calls 2

get_commitMethod · 0.80
create_commentMethod · 0.45

Tested by

no test coverage detected