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

Method testGetCommits

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

Source from the content-addressed store, hash-verified

367 self.assertTrue(self.pullMaintainerCanModify.maintainer_can_modify)
368
369 def testGetCommits(self):
370 self.assertListKeyEqual(
371 self.pull.get_commits(),
372 lambda c: c.sha,
373 [
374 "4aadfff21cdd2d2566b0e4bd7309c233b5f4ae23",
375 "93dcae5cf207de376c91d0599226e7c7563e1d16",
376 "8a4f306d4b223682dd19410d4a9150636ebe4206",
377 ],
378 )
379
380 def testGetFiles(self):
381 self.assertListKeyEqual(

Callers

nothing calls this directly

Calls 2

assertListKeyEqualMethod · 0.80
get_commitsMethod · 0.45

Tested by

no test coverage detected