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

Method setUp

tests/ApplicationOAuth.py:49–55  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

47
48class ApplicationOAuth(Framework.TestCase):
49 def setUp(self):
50 super().setUp()
51 self.CLIENT_ID = "client_id_removed"
52 self.CLIENT_SECRET = "client_secret_removed"
53 self.app = self.g.get_oauth_application(self.CLIENT_ID, self.CLIENT_SECRET)
54 self.ent_gh = github.Github(base_url="http://my.enterprise.com/path/to/github")
55 self.ent_app = self.ent_gh.get_oauth_application(self.CLIENT_ID, self.CLIENT_SECRET)
56
57 def testLoginURL(self):
58 BASE_URL = "https://github.com/login/oauth/authorize"

Callers

nothing calls this directly

Calls 1

get_oauth_applicationMethod · 0.80

Tested by

no test coverage detected