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

Method testGetReviewComments

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

Source from the content-addressed store, hash-verified

334 )
335
336 def testGetReviewComments(self):
337 epoch = datetime(1970, 1, 1, 0, 0)
338 comments = self.pull.get_review_comments(sort="updated", direction="desc", since=epoch)
339 self.assertListKeyEqual(comments, lambda c: c.id, [197784357, 1580134])
340 self.assertListKeyEqual(comments, lambda c: c.pull_request_review_id, [131593233, None])
341
342 def testReviewRequests(self):
343 self.pull.create_review_request(reviewers="sfdye", team_reviewers="pygithub-owners")

Callers

nothing calls this directly

Calls 2

get_review_commentsMethod · 0.80
assertListKeyEqualMethod · 0.80

Tested by

no test coverage detected