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

Method testGetAppInstallation

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

Source from the content-addressed store, hash-verified

289 self.assertEqual(installation.id, self.repo_installation_id)
290
291 def testGetAppInstallation(self):
292 auth = github.Auth.AppAuth(APP_ID, PRIVATE_KEY)
293 github_integration = github.GithubIntegration(auth=auth)
294 installation = github_integration.get_app_installation(installation_id=self.org_installation_id)
295
296 self.assertEqual(installation.id, self.org_installation_id)
297
298 def testGetInstallationNotFound(self):
299 auth = github.Auth.AppAuth(APP_ID, PRIVATE_KEY)

Callers

nothing calls this directly

Calls 1

get_app_installationMethod · 0.95

Tested by

no test coverage detected