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

Method testDelete

tests/PullRequestReview1856.py:29–36  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

27
28class PullRequestReview1856(Framework.TestCase):
29 def testDelete(self):
30 pumpkin_repo = self.g.get_repo("CS481-Team-Pumpkin/PyGithub", lazy=True)
31 pumpkin_pull = pumpkin_repo.get_pull(4)
32 pullreview = pumpkin_pull.get_review(631460061)
33
34 pullreview.delete()
35 reviews = pumpkin_pull.get_reviews()
36 self.assertEqual(list(reviews), [])

Callers

nothing calls this directly

Calls 5

get_pullMethod · 0.80
get_reviewMethod · 0.80
get_reviewsMethod · 0.80
get_repoMethod · 0.45
deleteMethod · 0.45

Tested by

no test coverage detected