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

Method testCreateReviewCommentSubjectType

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

Source from the content-addressed store, hash-verified

241 self.assertEqual(comment.id, 886298)
242
243 def testCreateReviewCommentSubjectType(self):
244 commit = self.repo.get_commit("8a4f306d4b223682dd19410d4a9150636ebe4206")
245 comment = self.pull.create_review_comment(
246 "Comment created by PyGithub",
247 commit,
248 "src/github/Issue.py",
249 5,
250 subject_type="file",
251 )
252 self.assertEqual(comment.id, 886298)
253
254 def testCreateMultilineReviewComment(self):
255 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