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

Method testGetUserInstallation

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

Source from the content-addressed store, hash-verified

268 self.assertIsNone(user_installation_authorization.single_file_paths)
269
270 def testGetUserInstallation(self):
271 auth = github.Auth.AppAuth(APP_ID, PRIVATE_KEY)
272 github_integration = github.GithubIntegration(auth=auth)
273 installation = github_integration.get_user_installation(username="ammarmallik")
274
275 self.assertEqual(installation.id, self.user_installation_id)
276
277 def testGetOrgInstallation(self):
278 auth = github.Auth.AppAuth(APP_ID, PRIVATE_KEY)

Callers

nothing calls this directly

Calls 1

get_user_installationMethod · 0.95

Tested by

no test coverage detected