(self)
| 154 | ) |
| 155 | |
| 156 | def testAppAuth(self): |
| 157 | # Replay data copied from testDeprecatedAppAuth to test parity |
| 158 | auth = github.Auth.AppAuth(APP_ID, PRIVATE_KEY) |
| 159 | github_integration = github.GithubIntegration(auth=auth) |
| 160 | installations = github_integration.get_installations() |
| 161 | self.assertEqual(len(list(installations)), 2) |
| 162 | |
| 163 | def testNoneAppAuth(self): |
| 164 | with self.assertRaises(AssertionError): |
nothing calls this directly
no test coverage detected