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

Method testGetEvents

tests/AuthenticatedUser.py:444–449  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

442 self.assertEqual(key.id, 2626650)
443
444 def testGetEvents(self):
445 self.assertListKeyBegin(
446 self.user.get_events(),
447 lambda e: e.type,
448 ["PushEvent", "IssuesEvent", "IssueCommentEvent", "PushEvent"],
449 )
450
451 def testGetOrganizationEvents(self):
452 self.assertListKeyBegin(

Callers

nothing calls this directly

Calls 2

assertListKeyBeginMethod · 0.80
get_eventsMethod · 0.45

Tested by

no test coverage detected