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

Method testAppAuth

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

Source from the content-addressed store, hash-verified

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):

Callers

nothing calls this directly

Calls 1

get_installationsMethod · 0.95

Tested by

no test coverage detected