(self)
| 68 | ) |
| 69 | |
| 70 | def testHttp(self): |
| 71 | g = github.Github(auth=self.oauth_token, base_url="http://my.enterprise.com") |
| 72 | self.assertListKeyEqual( |
| 73 | g.get_user().get_repos(), |
| 74 | lambda r: r.name, |
| 75 | [ |
| 76 | "TestPyGithub", |
| 77 | "django", |
| 78 | "PyGithub", |
| 79 | "developer.github.com", |
| 80 | "acme-public-website", |
| 81 | "C4Planner", |
| 82 | "Hacking", |
| 83 | "vincent-jacques.net", |
| 84 | "Contests", |
| 85 | "Candidates", |
| 86 | "Tests", |
| 87 | "DrawTurksHead", |
| 88 | "DrawSyntax", |
| 89 | "QuadProgMm", |
| 90 | "Boost.HierarchicalEnum", |
| 91 | "ViDE", |
| 92 | ], |
| 93 | ) |
| 94 | |
| 95 | def testUnknownUrlScheme(self): |
| 96 | with self.assertRaises(AssertionError) as raisedexp: |
nothing calls this directly
no test coverage detected