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

Method testGetPulls

tests/Commit.py:171–173  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

169 self.assertEqual(status.description, "Status successfully created by PyGithub")
170
171 def testGetPulls(self):
172 commit = self.g.get_user().get_repo("PyGithub").get_commit("e44d11d565c022496544dd6ed1f19a8d718c2b0c")
173 self.assertListKeyEqual(commit.get_pulls(), lambda c: c.number, [1431])

Callers

nothing calls this directly

Calls 5

get_commitMethod · 0.80
get_userMethod · 0.80
assertListKeyEqualMethod · 0.80
get_repoMethod · 0.45
get_pullsMethod · 0.45

Tested by

no test coverage detected