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

Method testInstallations

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

Source from the content-addressed store, hash-verified

800 self.assertEqual(self.user.get_migrations().totalCount, 46)
801
802 def testInstallations(self):
803 installations = self.user.get_installations()
804 self.assertEqual(installations[0].id, 123456)
805 self.assertEqual(installations[0].app_id, 10101)
806 self.assertEqual(installations[0].target_id, 3344556)
807 self.assertEqual(installations[0].target_type, "User")
808 self.assertEqual(installations.totalCount, 1)
809
810 def testGetMemberships(self):
811 membership_data = self.user.get_organization_memberships()

Callers

nothing calls this directly

Calls 1

get_installationsMethod · 0.45

Tested by

no test coverage detected