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

Method testAppAuthAuthentication

tests/Authentication.py:125–128  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

123 self.assertEqual(g.get_user("jacquev6").name, "Vincent Jacques")
124
125 def testAppAuthAuthentication(self):
126 # test data copied from testAppAuthentication to test parity
127 g = github.Github(auth=self.app_auth.get_installation_auth(29782936))
128 self.assertEqual(g.get_user("ammarmallik").name, "Ammar Akbar")
129
130 def assert_requester_args(self, g, expected_requester):
131 expected_args = expected_requester.kwargs

Callers

nothing calls this directly

Calls 2

get_userMethod · 0.95
get_installation_authMethod · 0.80

Tested by

no test coverage detected