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

Method testGetOrgInstallation

tests/GithubIntegration.py:277–282  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

275 self.assertEqual(installation.id, self.user_installation_id)
276
277 def testGetOrgInstallation(self):
278 auth = github.Auth.AppAuth(APP_ID, PRIVATE_KEY)
279 github_integration = github.GithubIntegration(auth=auth)
280 installation = github_integration.get_org_installation(org="GithubApp-Test-Org")
281
282 self.assertEqual(installation.id, self.org_installation_id)
283
284 def testGetRepoInstallation(self):
285 auth = github.Auth.AppAuth(APP_ID, PRIVATE_KEY)

Callers

nothing calls this directly

Calls 1

get_org_installationMethod · 0.95

Tested by

no test coverage detected