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

Method testLoginAuthentication

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

Source from the content-addressed store, hash-verified

108 )
109
110 def testLoginAuthentication(self):
111 # test data copied from testBasicAuthentication to test parity
112 g = github.Github(auth=Login("login", "password"))
113 self.assertEqual(g.get_user("jacquev6").name, "Vincent Jacques")
114
115 def testTokenAuthentication(self):
116 # test data copied from testOAuthAuthentication to test parity

Callers

nothing calls this directly

Calls 2

get_userMethod · 0.95
LoginClass · 0.90

Tested by

no test coverage detected