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

Method testGetApp

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

get_appMethod · 0.95

Tested by

no test coverage detected