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

Method testCreateMultilineReviewComment

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

Source from the content-addressed store, hash-verified

252 self.assertEqual(comment.id, 886298)
253
254 def testCreateMultilineReviewComment(self):
255 commit = self.repo.get_commit("8a4f306d4b223682dd19410d4a9150636ebe4206")
256 comment = self.pull.create_review_comment(
257 "Comment created by PyGithub",
258 commit,
259 "src/github/Issue.py",
260 10,
261 start_line=5,
262 )
263 self.assertEqual(comment.id, 886298)
264
265 def testCreateMultilineReviewCommentAsSuggestion(self):
266 commit = self.repo.get_commit("8a4f306d4b223682dd19410d4a9150636ebe4206")

Callers

nothing calls this directly

Calls 2

get_commitMethod · 0.80
create_review_commentMethod · 0.80

Tested by

no test coverage detected