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

Method testAppAuthTokenAuthentication

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

Source from the content-addressed store, hash-verified

118 self.assertEqual(g.get_user("jacquev6").name, "Vincent Jacques")
119
120 def testAppAuthTokenAuthentication(self):
121 # test data copied from testJWTAuthentication to test parity
122 g = github.Github(auth=self.jwt)
123 self.assertEqual(g.get_user("jacquev6").name, "Vincent Jacques")
124
125 def testAppAuthAuthentication(self):
126 # test data copied from testAppAuthentication to test parity

Callers

nothing calls this directly

Calls 1

get_userMethod · 0.95

Tested by

no test coverage detected