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

Method testGetPulls

tests/Repository.py:1659–1660  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1657 self.assertEqual(pull.id, 1436310)
1658
1659 def testGetPulls(self):
1660 self.assertListKeyEqual(self.repo.get_pulls(), lambda p: p.id, [1436310])
1661
1662 def testGetPullsWithArguments(self):
1663 self.assertListKeyEqual(self.repo.get_pulls("closed"), lambda p: p.id, [1448168, 1436310, 1436215])

Callers

nothing calls this directly

Calls 2

assertListKeyEqualMethod · 0.80
get_pullsMethod · 0.45

Tested by

no test coverage detected