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

Method testNoAuthentication

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

Source from the content-addressed store, hash-verified

61
62class Authentication(Framework.BasicTestCase):
63 def testNoAuthentication(self):
64 g = github.Github()
65 self.assertEqual(g.get_user("jacquev6").name, "Vincent Jacques")
66
67 def testBasicAuthentication(self):
68 with self.assertWarns(DeprecationWarning) as warning:

Callers

nothing calls this directly

Calls 1

get_userMethod · 0.95

Tested by

no test coverage detected