(self)
| 47 | |
| 48 | class 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" |
nothing calls this directly
no test coverage detected