(self)
| 350 | self.assertEqual(raisedexp.exception.status, 400) |
| 351 | |
| 352 | def testGetApp(self): |
| 353 | auth = github.Auth.AppAuth(APP_ID, PRIVATE_KEY) |
| 354 | github_integration = github.GithubIntegration(auth=auth) |
| 355 | app = github_integration.get_app() |
| 356 | |
| 357 | self.assertEqual(app.name, "PyGithubTest") |
| 358 | self.assertEqual(app.url, "/apps/pygithubtest") |
| 359 | |
| 360 | assert github_integration.requester is github_integration.__requester |
| 361 | assert app.requester is app._requester |