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

Method testSpecificPort

tests/Enterprise.py:127–150  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

125 self.assertEqual(repos[0].owner.name, "Vincent Jacques")
126
127 def testSpecificPort(self):
128 g = github.Github(auth=self.oauth_token, base_url="http://my.enterprise.com:8080")
129 self.assertListKeyEqual(
130 g.get_user().get_repos(),
131 lambda r: r.name,
132 [
133 "TestPyGithub",
134 "django",
135 "PyGithub",
136 "developer.github.com",
137 "acme-public-website",
138 "C4Planner",
139 "Hacking",
140 "vincent-jacques.net",
141 "Contests",
142 "Candidates",
143 "Tests",
144 "DrawTurksHead",
145 "DrawSyntax",
146 "QuadProgMm",
147 "Boost.HierarchicalEnum",
148 "ViDE",
149 ],
150 )

Callers

nothing calls this directly

Calls 3

get_userMethod · 0.95
assertListKeyEqualMethod · 0.80
get_reposMethod · 0.45

Tested by

no test coverage detected