(self)
| 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) |
nothing calls this directly
no test coverage detected