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

Method testTokenAuthentication

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

Source from the content-addressed store, hash-verified

113 self.assertEqual(g.get_user("jacquev6").name, "Vincent Jacques")
114
115 def testTokenAuthentication(self):
116 # test data copied from testOAuthAuthentication to test parity
117 g = github.Github(auth=self.oauth_token)
118 self.assertEqual(g.get_user("jacquev6").name, "Vincent Jacques")
119
120 def testAppAuthTokenAuthentication(self):
121 # test data copied from testJWTAuthentication to test parity

Callers

nothing calls this directly

Calls 1

get_userMethod · 0.95

Tested by

no test coverage detected