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

Method testGetRepoInstallation

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

Source from the content-addressed store, hash-verified

282 self.assertEqual(installation.id, self.org_installation_id)
283
284 def testGetRepoInstallation(self):
285 auth = github.Auth.AppAuth(APP_ID, PRIVATE_KEY)
286 github_integration = github.GithubIntegration(auth=auth)
287 installation = github_integration.get_repo_installation(owner="ammarmallik", repo="test-runner")
288
289 self.assertEqual(installation.id, self.repo_installation_id)
290
291 def testGetAppInstallation(self):
292 auth = github.Auth.AppAuth(APP_ID, PRIVATE_KEY)

Callers

nothing calls this directly

Calls 1

get_repo_installationMethod · 0.95

Tested by

no test coverage detected