(self)
| 296 | self.assertEqual(installation.id, self.org_installation_id) |
| 297 | |
| 298 | def testGetInstallationNotFound(self): |
| 299 | auth = github.Auth.AppAuth(APP_ID, PRIVATE_KEY) |
| 300 | github_integration = github.GithubIntegration(auth=auth) |
| 301 | with self.assertRaises(github.UnknownObjectException) as raisedexp: |
| 302 | github_integration.get_org_installation(org="GithubApp-Test-Org-404") |
| 303 | |
| 304 | self.assertEqual(raisedexp.exception.status, 404) |
| 305 | |
| 306 | def testGetInstallationWithExpiredJWT(self): |
| 307 | auth = github.Auth.AppAuth(APP_ID, PRIVATE_KEY) |
nothing calls this directly
no test coverage detected